SPIGOT-2135: Also clear sit pathfinder on toggle status

This commit is contained in:
md_5 2016-04-05 20:32:05 +10:00
parent f326992b8b
commit 3dc138d980

View File

@ -71,6 +71,7 @@ public class CraftTameableAnimal extends CraftAnimals implements Tameable, Creat
public void setSitting(boolean sitting) { public void setSitting(boolean sitting) {
getHandle().setSitting(sitting); getHandle().setSitting(sitting);
getHandle().getGoalSit().setSitting(sitting);
} }
@Override @Override