diff options
author | HACKhalo2 <hackhalotwo@gmail.com> | 2011-03-20 02:08:00 -0400 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-29 21:39:38 +0100 |
commit | 33f7af519f51f6e45b4d92cbb93e4f37798b48f1 (patch) | |
tree | 32c5ea1357e56328db3e385e994ad33755cdb998 /src | |
parent | a31f37262d207f52b99476ce1420c119a8031c00 (diff) | |
download | craftbukkit-33f7af519f51f6e45b4d92cbb93e4f37798b48f1.tar craftbukkit-33f7af519f51f6e45b4d92cbb93e4f37798b48f1.tar.gz craftbukkit-33f7af519f51f6e45b4d92cbb93e4f37798b48f1.tar.lz craftbukkit-33f7af519f51f6e45b4d92cbb93e4f37798b48f1.tar.xz craftbukkit-33f7af519f51f6e45b4d92cbb93e4f37798b48f1.zip |
Changed the Kick result from KICK_BANNED to KICK_WHITELIST because not being on the whitelist doesn't mean your banned.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/ServerConfigurationManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 0db1ae86..c71a73cd 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) { |