mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-22 14:34:59 +01:00
Fix abstract arrow entity metadata (#5149)
This commit is contained in:
parent
fd58c729d8
commit
0750990e4f
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue