Use playerlist whitelist status instead of properties
The actual property value is final, only the serialized output is changed. This uses the correct value from PlayerList instead Fixes #11878
This commit is contained in:
@@ -883,7 +883,7 @@ public final class CraftServer implements Server {
|
||||
|
||||
@Override
|
||||
public boolean hasWhitelist() {
|
||||
return this.getProperties().whiteList.get();
|
||||
return this.playerList.isUsingWhitelist();
|
||||
}
|
||||
|
||||
// NOTE: Temporary calls through to server.properies until its replaced
|
||||
|
||||
Reference in New Issue
Block a user