mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-23 23:21:35 +01:00
*facepalm*²
This commit is contained in:
parent
3507c2016a
commit
29460a310b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user