mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-21 22:36:18 +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)
|
EntityDefinition<AbstractArrowEntity> abstractArrowBase = EntityDefinition.inherited(AbstractArrowEntity::new, entityBase)
|
||||||
.addTranslator(MetadataType.BYTE, AbstractArrowEntity::setArrowFlags)
|
.addTranslator(MetadataType.BYTE, AbstractArrowEntity::setArrowFlags)
|
||||||
.addTranslator(null) // "Piercing level"
|
.addTranslator(null) // "Piercing level"
|
||||||
|
.addTranslator(null) // If the arrow is in the ground
|
||||||
.build();
|
.build();
|
||||||
ARROW = EntityDefinition.inherited(ArrowEntity::new, abstractArrowBase)
|
ARROW = EntityDefinition.inherited(ArrowEntity::new, abstractArrowBase)
|
||||||
.type(EntityType.ARROW)
|
.type(EntityType.ARROW)
|
||||||
|
|
Loading…
Reference in a new issue