mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Fix Permissions in Command System
This commit is contained in:
1 parent
c1c4d689df
commit
32f7843da8
1 file changed
+2
-2
@@ -56,12 +56,12 @@ public class CommandHandler implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
for (CommandBase base : commands) {
|
for (CommandBase base : commands) {
|
||||||
if (base.getCommand().equalsIgnoreCase(command)) {
|
if (base.getCommand().equalsIgnoreCase(command)) {
|
||||||
base.execute(cs, newArgs);
|
base.run(cs, newArgs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Send help
|
// Send help
|
||||||
commands.get(0).execute(cs, null);
|
commands.get(0).run(cs, null);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user