package net.knarcraft.blacksmith.command; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.jetbrains.annotations.NotNull; public class BlackSmithCommand implements CommandExecutor { @Override public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) { //TODO: This command should have one config sub-command which changes the default config values, and all // setting names which can be changed for each NPC. if (args.length > 0) { if (args[0].equalsIgnoreCase("reload")) { return new ReloadCommand().onCommand(sender, command, label, args); } } return false; } }