mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
This method can be final
This commit is contained in:
parent
e163301d23
commit
17fb38e567
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ public class AbstractHorseEntity extends AnimalEntity {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nonnull
|
@Nonnull
|
||||||
protected InteractiveTag testHorseInteraction(@Nonnull GeyserItemStack itemInHand) {
|
protected final InteractiveTag testHorseInteraction(@Nonnull GeyserItemStack itemInHand) {
|
||||||
boolean isBaby = isBaby();
|
boolean isBaby = isBaby();
|
||||||
if (!isBaby) {
|
if (!isBaby) {
|
||||||
if (getFlag(EntityFlag.TAMED) && session.isSneaking()) {
|
if (getFlag(EntityFlag.TAMED) && session.isSneaking()) {
|
||||||
|
|
Loading…
Reference in a new issue