14 lines
501 B
Java
14 lines
501 B
Java
package lol.pyr.znpcsplus.command;
|
|
|
|
import lol.pyr.director.adventure.command.CommandContext;
|
|
import lol.pyr.director.adventure.command.CommandHandler;
|
|
import lol.pyr.director.common.command.CommandExecutionException;
|
|
import lol.pyr.znpcsplus.npc.NPCRegistryImpl;
|
|
|
|
public class CreateCommand implements CommandHandler {
|
|
@Override
|
|
public void run(CommandContext context) throws CommandExecutionException {
|
|
String id = context.popString();
|
|
NPCRegistryImpl.get().get(id);
|
|
}
|
|
}
|