diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java index 1e413cbe..ba0a960d 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); + } } |