mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 23:46:57 +01:00
SPIGOT-2092: Directly set sittging status
This commit is contained in:
parent
f01861f80b
commit
4cc1807b25
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue