Check actual whitelist for CraftOfflinePlayer too

This commit is contained in:
Travis Watkins 2014-04-12 07:45:32 -05:00
parent f6a93775bf
commit b689cfa83a

View file

@ -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) {