Hacky solution to expose ip. Will fix properly later if I care to give a ****

This commit is contained in:
tahg 2011-03-18 00:03:03 -07:00
parent f28f3a6a9c
commit 1144013362

View File

@ -138,6 +138,8 @@ public class ServerConfigurationManager {
event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "Your IP address is banned from this server!");
} else if (this.b.size() >= this.e) {
event.disallow(PlayerLoginEvent.Result.KICK_FULL, "The server is full!");
} else {
event.disallow(PlayerLoginEvent.Result.ALLOWED, s2);
}
server.getPluginManager().callEvent(event);