Small bugfix

This commit is contained in:
JaTiTV 2023-04-23 13:25:14 +02:00
parent feed3914b0
commit 367f1e32f4
2 changed files with 9 additions and 6 deletions

View File

@ -6,7 +6,7 @@
<groupId>net.t2code</groupId>
<artifactId>CommandGUI_V2</artifactId>
<version>2.8.14</version>
<version>2.8.15</version>
<packaging>jar</packaging>
<name>CommandGUI</name>

View File

@ -76,6 +76,7 @@ public class CmdExecuter_GUI implements CommandExecutor, TabCompleter {
break;
}
} else {
if (!args[0].equalsIgnoreCase("updateinfo")){
if (sender instanceof Player) {
Player player = (Player) sender;
Commands.gui(player, args[0]);
@ -83,6 +84,8 @@ public class CmdExecuter_GUI implements CommandExecutor, TabCompleter {
}
Help.sendHelp(sender, prefix);
}
}
}
return false;