Remove extra kit command
This commit is contained in:
parent
877b5333cb
commit
31aae26bf9
@ -178,29 +178,6 @@ public class Moba extends TeamGame
|
|||||||
.setGiveCompassToAlive(false)
|
.setGiveCompassToAlive(false)
|
||||||
.register(this);
|
.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
|
// Disable specific GWEN checks for this game
|
||||||
AntiHack antiHack = Managers.get(AntiHack.class);
|
AntiHack antiHack = Managers.get(AntiHack.class);
|
||||||
antiHack.addIgnoredCheck(Speed.class);
|
antiHack.addIgnoredCheck(Speed.class);
|
||||||
|
Loading…
Reference in New Issue
Block a user