Cleanup: Mass reformat and organize imports

This commit is contained in:
ItzLevvie
2014-12-21 09:23:50 +00:00
committed by JeromSar
parent e2308ee904
commit e699ad1663
61 changed files with 262 additions and 265 deletions

View File

@ -109,7 +109,7 @@ public class TFM_ServerInterface
}
}
int count = server.getOnlinePlayers().length;
int count = server.getOnlinePlayers().size();
if (count >= server.getMaxPlayers())
{
for (Player onlinePlayer : server.getOnlinePlayers())
@ -137,7 +137,7 @@ public class TFM_ServerInterface
// Player is not an admin
// Server full check
if (server.getOnlinePlayers().length >= server.getMaxPlayers())
if (server.getOnlinePlayers().size() >= server.getMaxPlayers())
{
event.disallow(Result.KICK_FULL, "Sorry, but this server is full.");
return;