diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java index 39f97e4745..e8a8a6ba08 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftIronGolem.java @@ -20,6 +20,14 @@ public class CraftIronGolem extends CraftGolem implements IronGolem { return "CraftIronGolem"; } + public boolean isPlayerCreated() { + return getHandle().n_(); + } + + public void setPlayerCreated(boolean playerCreated) { + getHandle().b(playerCreated); + } + @Override public EntityType getType() { return EntityType.IRON_GOLEM;