diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13to1_13_1/packets/InventoryPackets.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13to1_13_1/packets/InventoryPackets.java index d9cdcce1..f1f94122 100644 --- a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13to1_13_1/packets/InventoryPackets.java +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_13to1_13_1/packets/InventoryPackets.java @@ -121,6 +121,7 @@ public class InventoryPackets { item.setId((short) getOldItemId(item.getId())); } + //1.13.1 Item Id public static int getNewItemId(int itemId) { if (itemId >= 443) { return itemId + 5; @@ -133,6 +134,7 @@ public class InventoryPackets { item.setId((short) getNewItemId(item.getId())); } + //1.13 Item Id public static int getOldItemId(int newId) { if (newId >= 448) { return newId - 5;