diff options
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/ServerConfigurationManager.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 274fa255..6cc6a7a1 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); |