From 9baed695630b3f9e2212d4786762672cf94ba3d3 Mon Sep 17 00:00:00 2001 From: HACKhalo2 Date: Sun, 20 Mar 2011 02:06:19 -0400 Subject: Added the KICK_WHITELIST Result for players being kicked from not being on the whitelist, just because KICK_BANNED didn't seem to fit. --- src/main/java/org/bukkit/event/player/PlayerLoginEvent.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java b/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java index 84348260..d94bffef 100644 --- a/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java @@ -95,7 +95,12 @@ public class PlayerLoginEvent extends PlayerEvent { * The player is not allowed to log in, due to them being banned */ KICK_BANNED, - + + /** + * The player is not allowed to log in, due to them not being on the white list + */ + KICK_WHITELIST, + /** * The player is not allowed to log in, for reasons undefined */ -- cgit v1.2.3