mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-01-09 09:17:43 +01:00
parent
8606e5d663
commit
2417ffe483
@ -73,7 +73,7 @@ public final class BlockItemPacketRewriter1_21 extends StructuredItemRewriter<Cl
|
||||
|
||||
// Now written as columns
|
||||
final int size = wrapper.read(Types.VAR_INT);
|
||||
wrapper.write(Types.VAR_INT, Math.max(1, (size - 1) / 3));
|
||||
wrapper.write(Types.VAR_INT, Math.max(0, (size - 1) / 3));
|
||||
});
|
||||
|
||||
protocol.registerClientbound(ClientboundPackets1_20_5.LEVEL_EVENT, wrapper -> {
|
||||
|
Loading…
Reference in New Issue
Block a user