mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-2135: Also clear sit pathfinder on toggle status
By: md_5 <git@md-5.net>
This commit is contained in:
parent
d7b8d8fdb9
commit
863a77436f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue