Small bugfix
This commit is contained in:
parent
feed3914b0
commit
367f1e32f4
@ -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>
|
||||
|
@ -76,12 +76,15 @@ public class CmdExecuter_GUI implements CommandExecutor, TabCompleter {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (sender instanceof Player) {
|
||||
Player player = (Player) sender;
|
||||
Commands.gui(player, args[0]);
|
||||
return false;
|
||||
if (!args[0].equalsIgnoreCase("updateinfo")){
|
||||
if (sender instanceof Player) {
|
||||
Player player = (Player) sender;
|
||||
Commands.gui(player, args[0]);
|
||||
return false;
|
||||
}
|
||||
Help.sendHelp(sender, prefix);
|
||||
}
|
||||
Help.sendHelp(sender, prefix);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user