mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Removed debug code and added ability to see other admins using /anticheat spy on other players. Suggested by Tallcraft.
This commit is contained in:
1 parent
5ff7b11b61
commit
e8efb75d7d
2 files changed
+2
-4
No files matched your search
@@ -205,7 +205,8 @@ public class CommandHandler implements CommandExecutor
|
||||
Player player = list.get(0);
|
||||
for (Player p : cs.getServer().getOnlinePlayers())
|
||||
{
|
||||
p.hidePlayer(sender);
|
||||
if (!Permission.SYSTEM_SPY.get(p))
|
||||
p.hidePlayer(sender);
|
||||
}
|
||||
sender.setAllowFlight(true);
|
||||
sender.setFlying(true);
|
||||
|
||||
Reference in new issue
Block a user