mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 10:05:12 +01:00
Handle missed 1.19.3 pose change
This commit is contained in:
parent
9688b3df5d
commit
ece8857535
@ -163,6 +163,13 @@ public final class EntityPackets extends EntityRewriter<Protocol1_19_3To1_19_1>
|
||||
});
|
||||
registerMetaTypeHandler(Types1_19_3.META_TYPES.itemType, Types1_19_3.META_TYPES.blockStateType, Types1_19_3.META_TYPES.particleType);
|
||||
|
||||
filter().index(6).handler((event, meta) -> {
|
||||
// Sitting pose added
|
||||
final int pose = meta.value();
|
||||
if (pose >= 10) {
|
||||
meta.setValue(pose + 1);
|
||||
}
|
||||
});
|
||||
filter().filterFamily(Entity1_19_3Types.MINECART_ABSTRACT).index(11).handler((event, meta) -> {
|
||||
// Convert to new block id
|
||||
final int data = (int) meta.getValue();
|
||||
|
Loading…
Reference in New Issue
Block a user