mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 06:40:19 +08:00
SPIGOT-2092: Directly set sittging status
This commit is contained in:
parent
f01861f80b
commit
4cc1807b25
@ -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 New Issue
Block a user