mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2026-06-05 10:56:55 +00:00
Do the disabling in the admin class, so it works with commands like doom & also disable potion spy
This commit is contained in:
@@ -112,6 +112,14 @@ public class FPlayer
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
// Ensure admins don't have admin functionality when removed (FS-222)
|
||||
public void removeAdminFunctionality()
|
||||
{
|
||||
this.setCommandSpy(false);
|
||||
this.setAdminChat(false);
|
||||
this.setFuckoffRadius(0);
|
||||
}
|
||||
|
||||
public boolean isOrbiting()
|
||||
{
|
||||
return isOrbiting;
|
||||
|
||||
Reference in New Issue
Block a user