mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
SPIGOT-2135: Also clear sit pathfinder on toggle status
This commit is contained in:
1 parent
f326992b8b
commit
3dc138d980
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user