From ba9198bd45dbedaeaf4445183ec24843b1189b29 Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Tue, 17 Jul 2018 17:51:31 -0300 Subject: [PATCH] =?UTF-8?q?*facepalm*=C2=B3?= 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 acd6e5446..0c2eec81a 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 = 32 << 16; // Dead Bush + rawId = 32 << 4; // Dead Bush } else if (MappingData.oldToNewItems.containsKey(rawId & ~0xF)) { rawId &= ~0xF; // Remove data } else {