From c95d49e54832d91c0051f18049efd192fe8da9e6 Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Mon, 27 Jan 2020 14:44:27 +0800 Subject: [PATCH] bug fixes Former-commit-id: c062817d478f206d0b2caa45885ae58d62ee36e3 --- pom.xml | 15 +-------------- .../quickshop/Command/CommandManager.java | 3 +++ 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 7deac991d6..5ad44c52ae 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.maxgamer QuickShop - 3.1.3 + 3.1.3.1 @@ -61,13 +61,6 @@ - - - me.lucko.commodore - - org.maxgamer.quickshop.commodore - - @@ -354,12 +347,6 @@ 1.6.9.5-U0.5.7 provided - - me.lucko - commodore - 1.3 - compile - jline jline diff --git a/src/main/java/org/maxgamer/quickshop/Command/CommandManager.java b/src/main/java/org/maxgamer/quickshop/Command/CommandManager.java index d3561041b9..388d300340 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/CommandManager.java +++ b/src/main/java/org/maxgamer/quickshop/Command/CommandManager.java @@ -356,6 +356,9 @@ public boolean onCommand( @NotNull String commandLabel, @NotNull String[] cmdArg) { // No args, it shouldn't happend + if (QuickShop.instance.getBootError() != null) { + return null; + } if (sender instanceof Player) { if (QuickShop.instance.getConfig().getBoolean("effect.sound.ontabcomplete")) { Player player = (Player) sender;