From 3dc138d98059b6841694d75615a9efadb4a65732 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 5 Apr 2016 20:32:05 +1000 Subject: [PATCH] SPIGOT-2135: Also clear sit pathfinder on toggle status --- .../java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java index 11f500b7f9..eaaebeab83 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java @@ -71,6 +71,7 @@ public class CraftTameableAnimal extends CraftAnimals implements Tameable, Creat public void setSitting(boolean sitting) { getHandle().setSitting(sitting); + getHandle().getGoalSit().setSitting(sitting); } @Override