From de1f8b0dba8f89f23d4921f9f92cc4d3d3a32846 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 20 Mar 2011 02:06:19 -0400 Subject: [PATCH] Added the KICK_WHITELIST Result for players being kicked from not being on the whitelist, just because KICK_BANNED didn't seem to fit. By: HACKhalo2 --- .../java/org/bukkit/event/player/PlayerLoginEvent.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java index 8434826067..d94bffef7c 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerLoginEvent.java +++ b/paper-api/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 */