mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
Check actual whitelist for CraftOfflinePlayer too
This commit is contained in:
parent
f6a93775bf
commit
b689cfa83a
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ public class CraftOfflinePlayer implements OfflinePlayer, ConfigurationSerializa
|
|||
}
|
||||
|
||||
public boolean isWhitelisted() {
|
||||
return server.getHandle().isWhitelisted(profile);
|
||||
return server.getHandle().getWhitelist().isWhitelisted(profile);
|
||||
}
|
||||
|
||||
public void setWhitelisted(boolean value) {
|
||||
|
|
Loading…
Reference in a new issue