summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftEndermite.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEndermite.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEndermite.java
index 4fd49ead..771eea2d 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEndermite.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEndermite.java
@@ -12,6 +12,11 @@ public class CraftEndermite extends CraftMonster implements Endermite {
}
@Override
+ public EntityEndermite getHandle() {
+ return (EntityEndermite) super.getHandle();
+ }
+
+ @Override
public String toString() {
return "CraftEndermite";
}
@@ -20,4 +25,14 @@ public class CraftEndermite extends CraftMonster implements Endermite {
public EntityType getType() {
return EntityType.ENDERMITE;
}
+
+ @Override
+ public boolean isPlayerSpawned() {
+ return getHandle().l(); // PAIL
+ }
+
+ @Override
+ public void setPlayerSpawned(boolean playerSpawned) {
+ getHandle().a(playerSpawned); // PAIL
+ }
}