From 33f7af519f51f6e45b4d92cbb93e4f37798b48f1 Mon Sep 17 00:00:00 2001 From: HACKhalo2 Date: Sun, 20 Mar 2011 02:08:00 -0400 Subject: [PATCH] Changed the Kick result from KICK_BANNED to KICK_WHITELIST because not being on the whitelist doesn't mean your banned. --- .../java/net/minecraft/server/ServerConfigurationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 0db1ae869c..c71a73cd34 100644 --- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java +++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java @@ -139,7 +139,7 @@ public class ServerConfigurationManager { if (this.f.contains(s.trim().toLowerCase())) { event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "You are banned from this server!"); } else if (!this.g(s)) { - event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "You are not white-listed on this server!"); + event.disallow(PlayerLoginEvent.Result.KICK_WHITELIST, "You are not white-listed on this server!"); } else if (this.g.contains(s2)) { event.disallow(PlayerLoginEvent.Result.KICK_BANNED, "Your IP address is banned from this server!"); } else if (this.b.size() >= this.e) {