diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java index ba0a960d..bf3a872b 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftBat.java @@ -26,11 +26,11 @@ public class CraftBat extends CraftAmbient implements Bat { @Override public boolean isAwake() { - return getHandle().isStartled(); + return !getHandle().isStartled(); } @Override public void setAwake(boolean state) { - getHandle().setStartled(state); + getHandle().setStartled(!state); } } |