
[1.21.6] [BUG] charged_projectiles data component is missing, leading to crossbow visual glitch.
Closed this issue ยท 0 comments
Description
Exactly the same bug as #54 .
- Minecraft version: 1.21.6
- Polymer version: 0.13.3+1.21.6
A solution for me
`kotlin
PolymerItemUtils.ITEM_MODIFICATION_EVENT.register event@{ origin, virtual, _ ->
origin.get(DataComponents.CHARGED_PROJECTILES)?.let { chargedProjectiles ->
virtual.set(DataComponents.CHARGED_PROJECTILES, chargedProjectiles)
}
return@event virtual
}
`