mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +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) {
|
||||
if (base.getCommand().equalsIgnoreCase(command)) {
|
||||
base.execute(cs, newArgs);
|
||||
base.run(cs, newArgs);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Send help
|
||||
commands.get(0).execute(cs, null);
|
||||
commands.get(0).run(cs, null);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user