Skip to content

Commit 0b4eb8e

Browse files
Fix unwanted change to registerCustomCommands
1 parent 23f3aa0 commit 0b4eb8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/QuickShop.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2289,7 +2289,7 @@ public void setupBootError(BootError bootError, boolean unregisterListeners) {
22892289

22902290
public void registerCustomCommands() {
22912291
List<String> customCommands = getConfig().getStringList("custom-commands");
2292-
PluginCommand quickShopCommand = Bukkit.getPluginCommand("qs");
2292+
PluginCommand quickShopCommand = getCommand("qs");
22932293
if (quickShopCommand == null) {
22942294
getLogger().warning("Failed to get QuickShop PluginCommand instance.");
22952295
return;

0 commit comments

Comments
 (0)