mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fix NPE on rules and resetting offline player
This commit is contained in:
1 parent
9e24ee6d12
commit
c5fbdb2579
4 files changed
+6
-8
No files matched your search
@@ -46,7 +46,7 @@ public class CommandReset extends CommandBase {
|
||||
user.resetLevel();
|
||||
XRAY_TRACKER.reset(args[0]);
|
||||
user.clearMessages();
|
||||
AntiCheat.getManager().getBackend().resetChatLevel(user.getPlayer());
|
||||
AntiCheat.getManager().getBackend().resetChatLevel(user);
|
||||
cs.sendMessage(args[0] + GREEN + " has been reset.");
|
||||
} else {
|
||||
cs.sendMessage(RED + "Player: " +args[0] + " not found.");
|
||||
|
||||
Reference in new issue
Block a user