Skip to content

Commit

Permalink
Fix abstract arrow entity metadata (#5149)
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipseisoffline authored Nov 13, 2024
1 parent fd58c72 commit 0750990
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ public final class EntityDefinitions {
EntityDefinition<AbstractArrowEntity> abstractArrowBase = EntityDefinition.inherited(AbstractArrowEntity::new, entityBase)
.addTranslator(MetadataType.BYTE, AbstractArrowEntity::setArrowFlags)
.addTranslator(null) // "Piercing level"
.addTranslator(null) // If the arrow is in the ground
.build();
ARROW = EntityDefinition.inherited(ArrowEntity::new, abstractArrowBase)
.type(EntityType.ARROW)
Expand Down

0 comments on commit 0750990

Please sign in to comment.