bug fixes

Former-commit-id: c062817d478f206d0b2caa45885ae58d62ee36e3
This commit is contained in:
Ghost_chu committed 2020-01-27 14:44:27 +08:00
1 parent b0ea8c025e
commit c95d49e548
2 files changed
+4 -14

No files matched your search

@@ -356,6 +356,9 @@ public class CommandManager implements TabCompleter, CommandExecutor {
@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;