mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +01:00
Remove baby entity data from changed water animals
This commit is contained in:
parent
4bcc213f1b
commit
6b690a0218
@ -96,7 +96,7 @@ public final class Protocol1_21_2To1_21 extends BackwardsProtocol<ClientboundPac
|
||||
}
|
||||
|
||||
private void storeTags(final PacketWrapper wrapper) {
|
||||
tagRewriter.getGenericHandler().handle(wrapper);
|
||||
tagRewriter.handleGeneric(wrapper);
|
||||
wrapper.resetReader();
|
||||
wrapper.user().get(ItemTagStorage.class).readItemTags(wrapper);
|
||||
}
|
||||
|
@ -182,6 +182,9 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter<Clientbound
|
||||
registerBlockStateHandler(EntityTypes1_20_5.ABSTRACT_MINECART, 11);
|
||||
|
||||
filter().type(EntityTypes1_20_5.SALMON).removeIndex(17); // Data type
|
||||
filter().type(EntityTypes1_20_5.DOLPHIN).removeIndex(16); // Baby
|
||||
filter().type(EntityTypes1_20_5.GLOW_SQUID).removeIndex(16); // Baby
|
||||
filter().type(EntityTypes1_20_5.SQUID).removeIndex(16); // Baby
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user