This method can be final

This commit is contained in:
Camotoy 2022-03-01 22:50:11 -05:00
parent e163301d23
commit 17fb38e567
No known key found for this signature in database
GPG Key ID: 7EEFB66FE798081F
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class AbstractHorseEntity extends AnimalEntity {
}
@Nonnull
protected InteractiveTag testHorseInteraction(@Nonnull GeyserItemStack itemInHand) {
protected final InteractiveTag testHorseInteraction(@Nonnull GeyserItemStack itemInHand) {
boolean isBaby = isBaby();
if (!isBaby) {
if (getFlag(EntityFlag.TAMED) && session.isSneaking()) {