From e7539378fa771aec2138deb66bdcec6a56d9577d Mon Sep 17 00:00:00 2001 From: Kai Dederichs Date: Sat, 13 Jul 2013 11:56:59 +0200 Subject: [PATCH] Fix mistranslation in isPlayerCreated() for IronGolems. Fixes BUKKIT-4543 --- src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java index aa5b40e7b9..59d9c0d38a 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java @@ -21,7 +21,7 @@ public class CraftIronGolem extends CraftGolem implements IronGolem { } public boolean isPlayerCreated() { - return getHandle().bS(); + return getHandle().bW(); } public void setPlayerCreated(boolean playerCreated) {