Remove extra kit command
This commit is contained in:
parent
877b5333cb
commit
31aae26bf9
|
@ -178,29 +178,6 @@ public class Moba extends TeamGame
|
|||
.setGiveCompassToAlive(false)
|
||||
.register(this);
|
||||
|
||||
registerDebugCommand("kit", Perm.DEBUG_KIT_COMMAND, PermissionGroup.ADMIN, (caller, args) ->
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
for (String arg : args)
|
||||
{
|
||||
builder.append(arg).append(" ");
|
||||
}
|
||||
|
||||
String kit = builder.toString().trim();
|
||||
|
||||
for (Kit kits : _kits)
|
||||
{
|
||||
if (kit.equalsIgnoreCase(kits.GetName()))
|
||||
{
|
||||
SetKit(caller, kits, true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
caller.sendMessage(F.main("Kit", "Sorry that is not a kit!"));
|
||||
});
|
||||
|
||||
// Disable specific GWEN checks for this game
|
||||
AntiHack antiHack = Managers.get(AntiHack.class);
|
||||
antiHack.addIgnoredCheck(Speed.class);
|
||||
|
@ -660,4 +637,4 @@ public class Moba extends TeamGame
|
|||
{
|
||||
return _progression;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue