mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Tests and minor meta changes
This commit is contained in:
1 parent
bce27eb805
commit
2bf11e8587
4 files changed
+76
-7
No files matched your search
@@ -333,8 +333,10 @@ public class CommandHandler implements CommandExecutor {
|
||||
}
|
||||
|
||||
public void handleDeveloper(CommandSender cs) {
|
||||
AntiCheat.setDeveloperMode(!AntiCheat.developerMode());
|
||||
cs.sendMessage(GREEN + "Developer mode " + (AntiCheat.developerMode() ? "ON" : "OFF"));
|
||||
if (hasPermission(cs, Permission.SYSTEM_DEBUG)) {
|
||||
AntiCheat.setDeveloperMode(!AntiCheat.developerMode());
|
||||
cs.sendMessage(GREEN + "Developer mode " + (AntiCheat.developerMode() ? "ON" : "OFF"));
|
||||
}
|
||||
}
|
||||
|
||||
public void sendPlayerReport(CommandSender cs, List<CheckType> types, User user, int page) {
|
||||
|
||||
Reference in new issue
Block a user