diff options
author | Tahg <tahgtahv@gmail.com> | 2011-02-23 13:57:29 +0800 |
---|---|---|
committer | tahg <tahgtahv@gmail.com> | 2011-02-23 14:08:42 +0800 |
commit | b8023ac3fa0ad01525e7cd36efe24a21be154861 (patch) | |
tree | 72d2a48beea3ade4bca20b8ffa045be86e859208 /src/main/java | |
parent | f759e0b60d3a575d31921c930e436af321b0e7e8 (diff) | |
download | craftbukkit-b8023ac3fa0ad01525e7cd36efe24a21be154861.tar craftbukkit-b8023ac3fa0ad01525e7cd36efe24a21be154861.tar.gz craftbukkit-b8023ac3fa0ad01525e7cd36efe24a21be154861.tar.lz craftbukkit-b8023ac3fa0ad01525e7cd36efe24a21be154861.tar.xz craftbukkit-b8023ac3fa0ad01525e7cd36efe24a21be154861.zip |
Fix for isOp
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 591bd0da..c8da3069 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -28,7 +28,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { } public boolean isOp() { - return server.getHandle().g(getName()); + return server.getHandle().h(getName()); } public boolean isPlayer() { |