Fix trade list sending

Forgot to remove cancellation from initial configuration testing
Fixes #594
This commit is contained in:
Nassim Jahnke 2023-09-28 11:19:36 +10:00
parent cc7df5a4fc
commit 92c160c43a

View File

@ -218,7 +218,6 @@ public final class BlockItemPacketRewriter1_20_2 extends ItemRewriter<Clientboun
}
});
protocol.registerClientbound(ClientboundPackets1_20_2.TRADE_LIST, wrapper -> {
wrapper.cancel();
wrapper.passthrough(Type.VAR_INT); // Container id
final int size = wrapper.passthrough(Type.VAR_INT);
for (int i = 0; i < size; i++) {