From 95f2b597da42d6633d7ee3c1ad8d88fb5d512020 Mon Sep 17 00:00:00 2001 From: Myles Date: Mon, 14 Nov 2016 22:20:08 +0000 Subject: [PATCH] This is billy, he got lost on his way to the last commit, apologies. --- .../protocols/protocol1_11to1_10/packets/InventoryPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_11to1_10/packets/InventoryPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_11to1_10/packets/InventoryPackets.java index 109275db4..6a3d16a03 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_11to1_10/packets/InventoryPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_11to1_10/packets/InventoryPackets.java @@ -81,7 +81,7 @@ public class InventoryPackets { if (wrapper.get(Type.STRING, 0).equalsIgnoreCase("MC|TrList")) { wrapper.passthrough(Type.INT); // Passthrough Window ID - int size = wrapper.passthrough(Type.UNSIGNED_BYTE) + int size = wrapper.passthrough(Type.UNSIGNED_BYTE); for (int i = 0; i < size; i++) { ItemRewriter.toClient(wrapper.passthrough(Type.ITEM)); // Input Item ItemRewriter.toClient(wrapper.passthrough(Type.ITEM)); // Output Item