From 29460a310b040ce3298db952f77f51d0fb83ae5e Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Tue, 17 Jul 2018 17:49:35 -0300 Subject: [PATCH] =?UTF-8?q?*facepalm*=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../protocolsnapshotto1_12_2/packets/InventoryPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/packets/InventoryPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/packets/InventoryPackets.java index c03d6b773..acd6e5446 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/packets/InventoryPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/packets/InventoryPackets.java @@ -347,7 +347,7 @@ public class InventoryPackets { tag.put(new IntTag(NBT_TAG_NAME, originalId)); // Data will be lost, saving original id } if (item.getId() == 31 && item.getData() == 0) { // Shrub was removed - rawId = MappingData.oldToNewItems.get(512); // Dead Bush + rawId = 32 << 16; // Dead Bush } else if (MappingData.oldToNewItems.containsKey(rawId & ~0xF)) { rawId &= ~0xF; // Remove data } else {