mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
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 <hackhalotwo@gmail.com>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user