Merge branch 'patch-3' of https://github.com/Wilee999/TotalFreedomMod into Wilee999-patch-3

This commit is contained in:
unknown 2014-06-22 17:06:54 +02:00
commit 5ec66e8c7e

View File

@ -741,6 +741,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()))
{ {