From 1144013362a62ea41327c4f10f2691eca9fe9688 Mon Sep 17 00:00:00 2001 From: tahg Date: Fri, 18 Mar 2011 00:03:03 -0700 Subject: [PATCH] Hacky solution to expose ip. Will fix properly later if I care to give a **** --- .../java/net/minecraft/server/ServerConfigurationManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 274fa255ac..6cc6a7a124 100644 --- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java +++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java @@ -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);