From b8023ac3fa0ad01525e7cd36efe24a21be154861 Mon Sep 17 00:00:00 2001 From: Tahg Date: Wed, 23 Feb 2011 13:57:29 +0800 Subject: [PATCH] Fix for isOp --- src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 591bd0da57..c8da306910 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() {