From 4cc1807b25fac13e4b30fdcf914c3b494ac6a87e Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 4 Apr 2016 17:09:57 +1000 Subject: [PATCH] SPIGOT-2092: Directly set sittging status --- .../java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java index 0800d73a1b..11f500b7f9 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftTameableAnimal.java @@ -70,7 +70,7 @@ public class CraftTameableAnimal extends CraftAnimals implements Tameable, Creat } public void setSitting(boolean sitting) { - getHandle().getGoalSit().setSitting(sitting); + getHandle().setSitting(sitting); } @Override