Fixed fallback command "/shopchest:shop"

This commit is contained in:
Eric 2017-02-05 17:19:31 +01:00
parent cdb862d435
commit bae02c910a

View File

@ -48,7 +48,7 @@ class ShopCommand extends BukkitCommand {
plugin.debug("Registering command " + command.getName());
Object commandMap = plugin.getServer().getClass().getMethod("getCommandMap").invoke(plugin.getServer());
commandMap.getClass().getMethod("register", String.class, Command.class).invoke(commandMap, "shop", command);
commandMap.getClass().getMethod("register", String.class, Command.class).invoke(commandMap, "shopchest", command);
}
@Override