Unban fuzzy IPs for admins. Fixes #187

This commit is contained in:
unknown
2014-05-16 15:39:40 +02:00
parent 179fe9d665
commit 00ac914066
6 changed files with 19 additions and 20 deletions

View File

@ -87,7 +87,7 @@ public class TFM_ServerInterface
}
// not safe to use TFM_Util.isSuperAdmin for player logging in because player.getAddress() will return a null until after player login.
boolean isAdmin;
final boolean isAdmin;
if (server.getOnlineMode())
{
isAdmin = TFM_AdminList.getSuperUUIDs().contains(uuid);