From b689cfa83a1bd8d47935aac0086e18266b477fa7 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Sat, 12 Apr 2014 07:45:32 -0500 Subject: [PATCH] Check actual whitelist for CraftOfflinePlayer too --- src/main/java/org/bukkit/craftbukkit/CraftOfflinePlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftOfflinePlayer.java b/src/main/java/org/bukkit/craftbukkit/CraftOfflinePlayer.java index d92f5037c0..bd9882226c 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftOfflinePlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftOfflinePlayer.java @@ -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) {