mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-12 13:53:54 +00:00
Auto-freeze on imposter login; adds: http://www.totalfreedom.boards.net/thread/12123
This commit is contained in:
@ -747,6 +747,7 @@ public class TFM_PlayerListener implements Listener
|
||||
player.getInventory().clear();
|
||||
player.setOp(false);
|
||||
player.setGameMode(GameMode.SURVIVAL);
|
||||
TFM_PlayerData.getPlayerData().setFrozen(true);
|
||||
}
|
||||
else if (TFM_AdminList.isSuperAdmin(player) || TFM_Util.DEVELOPERS.contains(player.getName()))
|
||||
{
|
||||
|
Reference in New Issue
Block a user