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