Config migration, stage 1

This commit is contained in:
Steven Lawson
2013-08-18 14:52:46 -04:00
parent 64b1e568b3
commit 2827ca98a7
18 changed files with 65 additions and 110 deletions

View File

@ -247,7 +247,7 @@ public class TFM_ServerInterface
return;
}
if (TotalFreedomMod.adminOnlyMode)
if (TFM_ConfigEntry.ADMIN_ONLY_MODE.getBoolean())
{
event.disallow(PlayerLoginEvent.Result.KICK_OTHER, "Server is temporarily open to admins only.");
return;