mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Check actual whitelist for CraftOfflinePlayer too
This commit is contained in:
1 parent
f6a93775bf
commit
b689cfa83a
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user