mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-08 19:51:05 +00:00
Fixed fallback command "/shopchest:shop"
This commit is contained in:
parent
cdb862d435
commit
bae02c910a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user