From bae02c910a0ed5e7b58147d3f8207a3c1cfe2f88 Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 5 Feb 2017 17:19:31 +0100 Subject: [PATCH] Fixed fallback command "/shopchest:shop" --- src/main/java/de/epiceric/shopchest/ShopCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/epiceric/shopchest/ShopCommand.java b/src/main/java/de/epiceric/shopchest/ShopCommand.java index 220dfe5..e3a3e4e 100644 --- a/src/main/java/de/epiceric/shopchest/ShopCommand.java +++ b/src/main/java/de/epiceric/shopchest/ShopCommand.java @@ -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