Fix elytra not working with firework rockets in 1.14 -> 1.13.2 (#3669)

Closes https://github.com/ViaVersion/ViaFabricPlus/issues/331
This commit is contained in:
EnZaXD 2024-01-27 13:46:20 +01:00 committed by GitHub
parent cef6fb35b1
commit f3d95b1e5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,9 +135,6 @@ public class MetadataRewriter1_14To1_13_2 extends EntityRewriter<ClientboundPack
filter().type(EntityTypes1_14.ABSTRACT_ARROW).addIndex(9); // Piercing level added
filter().type(EntityTypes1_14.FIREWORK_ROCKET).index(8).handler((event, meta) -> {
});
filter().type(EntityTypes1_14.HORSE).index(18).handler((event, meta) -> {
meta.setMetaType(Types1_14.META_TYPES.optionalVarIntType);
if (meta.getValue().equals(0)) {
meta.setValue(null); // https://bugs.mojang.com/browse/MC-111480