geforkt von Mirrors/Paper
Check actual whitelist for CraftOfflinePlayer too
Dieser Commit ist enthalten in:
Ursprung
f6a93775bf
Commit
b689cfa83a
@ -102,7 +102,7 @@ public class CraftOfflinePlayer implements OfflinePlayer, ConfigurationSerializa
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isWhitelisted() {
|
public boolean isWhitelisted() {
|
||||||
return server.getHandle().isWhitelisted(profile);
|
return server.getHandle().getWhitelist().isWhitelisted(profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setWhitelisted(boolean value) {
|
public void setWhitelisted(boolean value) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren