mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-09-28 06:27:33 +02:00
Handle shifted 1.19.4 boat types
This commit is contained in:
parent
9ccc3aed30
commit
f1bde8ba2a
@ -169,6 +169,13 @@ public final class EntityPackets extends EntityRewriter<ClientboundPackets1_19_3
|
||||
meta.setValue(protocol.getMappingData().getNewBlockStateId(blockState));
|
||||
});
|
||||
|
||||
filter().filterFamily(Entity1_19_4Types.BOAT).index(11).handler((event, meta) -> {
|
||||
final int boatType = meta.value();
|
||||
if (boatType > 4) { // Cherry added
|
||||
meta.setValue(boatType + 1);
|
||||
}
|
||||
});
|
||||
|
||||
filter().filterFamily(Entity1_19_4Types.ABSTRACT_HORSE).removeIndex(18); // Owner UUID
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user