From e03db265301776548962036f65160a1e6ef61a5c Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Sat, 23 Mar 2019 16:23:15 -0300 Subject: [PATCH] Fix numeric ids that doesn't need string remap --- .../protocol1_13to1_12_2/packets/InventoryPackets.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/InventoryPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/InventoryPackets.java index 3a37732ab..421a0817b 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/InventoryPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/InventoryPackets.java @@ -400,7 +400,7 @@ public class InventoryPackets { newCanPlaceOn.add(new StringTag("", newValue)); } } else { - newCanPlaceOn.add(oldTag); + newCanPlaceOn.add(new StringTag("", oldId)); } } tag.put(newCanPlaceOn); @@ -422,7 +422,7 @@ public class InventoryPackets { newCanDestroy.add(new StringTag("", newValue)); } } else { - newCanDestroy.add(oldTag); + newCanDestroy.add(new StringTag("", oldId)); } } tag.put(newCanDestroy);