mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-26 17:05:01 +00:00
Fixes bug where the whitelist wasn't working
This commit is contained in:
parent
42458084d7
commit
1eaaf5fcdb
@ -179,7 +179,7 @@ public class LoginProcess extends FreedomService
|
||||
}
|
||||
|
||||
// Whitelist
|
||||
if (server.isWhitelistEnforced() && !player.isWhitelisted())
|
||||
if (server.hasWhitelist() && !player.isWhitelisted())
|
||||
{
|
||||
event.disallow(PlayerLoginEvent.Result.KICK_OTHER, "You are not whitelisted on this server.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user