diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java index 1e413cbe5d..ba0a960dec 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java @@ -23,4 +23,14 @@ public class CraftBat extends CraftAmbient implements Bat { public EntityType getType() { return EntityType.BAT; } + + @Override + public boolean isAwake() { + return getHandle().isStartled(); + } + + @Override + public void setAwake(boolean state) { + getHandle().setStartled(state); + } }