ZNPCsPlus/plugin/src/main/java/lol/pyr/znpcsplus/command/CreateCommand.java
2023-05-04 05:07:07 +01:00

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);
}
}