summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2014-04-12 07:45:32 -0500
committerTravis Watkins <amaranth@ubuntu.com>2014-04-12 07:45:32 -0500
commitb689cfa83a1bd8d47935aac0086e18266b477fa7 (patch)
tree3262c8440f9c316decd7f37646259bf30c99a744 /src/main
parentf6a93775bf0bd6d6fd5ace0539565c55983bd795 (diff)
downloadcraftbukkit-b689cfa83a1bd8d47935aac0086e18266b477fa7.tar
craftbukkit-b689cfa83a1bd8d47935aac0086e18266b477fa7.tar.gz
craftbukkit-b689cfa83a1bd8d47935aac0086e18266b477fa7.tar.lz
craftbukkit-b689cfa83a1bd8d47935aac0086e18266b477fa7.tar.xz
craftbukkit-b689cfa83a1bd8d47935aac0086e18266b477fa7.zip
Check actual whitelist for CraftOfflinePlayer too
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftOfflinePlayer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftOfflinePlayer.java b/src/main/java/org/bukkit/craftbukkit/CraftOfflinePlayer.java
index d92f5037..bd988222 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) {