From 863a77436f478d1d3d0becec510132d90877d332 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 5 Apr 2016 20:32:05 +1000 Subject: [PATCH] SPIGOT-2135: Also clear sit pathfinder on toggle status By: md_5 --- .../java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java index 11f500b7f9..eaaebeab83 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java +++ b/paper-server/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