mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-21 23:11:56 +01: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:
parent
8cef9edf82
commit
de1f8b0dba
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user