From 9a91250af799b517397951ed172daa401a090c55 Mon Sep 17 00:00:00 2001 From: KennyTV <28825609+KennyTV@users.noreply.github.com> Date: Sun, 3 Mar 2019 13:40:17 +0100 Subject: [PATCH] Fix books --- .../protocols/protocol1_14to1_13_2/packets/InventoryPackets.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/packets/InventoryPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/packets/InventoryPackets.java index 8be49af03..a8a0ebdc0 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/packets/InventoryPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/packets/InventoryPackets.java @@ -177,6 +177,7 @@ public class InventoryPackets { wrapper.passthrough(Type.INT); // Maximum number of trade uses } } else if (channel.equals("minecraft:book_open") || channel.equals("book_open")) { + wrapper.passthrough(Type.REMAINING_BYTES); int hand = wrapper.read(Type.VAR_INT); wrapper.clearPacket(); wrapper.setId(0x2C);