diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/PathfinderGoalSit.java')
-rw-r--r-- | src/main/java/net/minecraft/server/PathfinderGoalSit.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/PathfinderGoalSit.java b/src/main/java/net/minecraft/server/PathfinderGoalSit.java index 4a352dc7..c518a01a 100644 --- a/src/main/java/net/minecraft/server/PathfinderGoalSit.java +++ b/src/main/java/net/minecraft/server/PathfinderGoalSit.java @@ -13,7 +13,7 @@ public class PathfinderGoalSit extends PathfinderGoal { public boolean a() { if (!this.entity.isTamed()) { return this.willSit && this.entity.getGoalTarget() == null; // CraftBukkit - Allow sitting for wild animals - } else if (this.entity.H()) { + } else if (this.entity.M()) { return false; } else if (!this.entity.onGround) { return false; |