~ Engine update.
This commit is contained in:
parent
bc7e312dd2
commit
463b5e7f37
@ -192,7 +192,7 @@ public class BlockHunt extends JavaPlugin implements Listener {
|
||||
Permissions.start, ConfigC.help_start,
|
||||
(Boolean) W.config.get(ConfigC.commandEnabled_start),
|
||||
BlockHuntCMD, new CMDstart(),
|
||||
"/BlockHunt <start|st> <arenaname>");
|
||||
"/BlockHunt <start|go> <arenaname>");
|
||||
CMDwand = new CommandM("BlockHunt WAND", "BlockHunt", "wand", "w",
|
||||
Permissions.create, ConfigC.help_wand,
|
||||
(Boolean) W.config.get(ConfigC.commandEnabled_wand),
|
||||
@ -704,7 +704,6 @@ public class BlockHunt extends JavaPlugin implements Listener {
|
||||
}
|
||||
|
||||
for (CommandM command : W.commands) {
|
||||
if (PermissionsM.hasPerm(player, command.permission, true)) {
|
||||
String[] argsSplit = null;
|
||||
String[] argsSplitAlias = null;
|
||||
|
||||
@ -738,18 +737,19 @@ public class BlockHunt extends JavaPlugin implements Listener {
|
||||
}
|
||||
|
||||
if (equals) {
|
||||
if (PermissionsM.hasPerm(player, command.permission, true)) {
|
||||
if (command.enabled) {
|
||||
command.CMD.exectue(player, cmd, label, args);
|
||||
} else {
|
||||
MessageM.sendFMessage(player,
|
||||
ConfigC.error_commandNotEnabled);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CMDnotfound.exectue(player, cmd, label, args);
|
||||
return true;
|
||||
|
@ -13,6 +13,6 @@ public class EngineInfo {
|
||||
* @author Steffion
|
||||
*/
|
||||
|
||||
public static String engineVersion = "3.0.0";
|
||||
public static String engineVersion = "3.0.2";
|
||||
public static String engineAuthors = "Steffion";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user