mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-01-04 19:08:43 +01:00
Fix VV API usage (#664)
This commit is contained in:
parent
de42850dd1
commit
6b1f913b91
@ -145,7 +145,7 @@ public final class EntityPacketRewriter1_20_5 extends EntityRewriter<Clientbound
|
|||||||
Types1_20_3.META_TYPES.optionalComponentType
|
Types1_20_3.META_TYPES.optionalComponentType
|
||||||
);
|
);
|
||||||
|
|
||||||
filter().filterFamily(EntityTypes1_20_5.MINECART_ABSTRACT).index(11).handler((event, meta) -> {
|
filter().type(EntityTypes1_20_5.MINECART_ABSTRACT).index(11).handler((event, meta) -> {
|
||||||
final int blockState = meta.value();
|
final int blockState = meta.value();
|
||||||
meta.setValue(protocol.getMappingData().getNewBlockStateId(blockState));
|
meta.setValue(protocol.getMappingData().getNewBlockStateId(blockState));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user