3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00
Dieser Commit ist enthalten in:
creeper123123321 2018-07-17 17:49:35 -03:00
Ursprung 3507c2016a
Commit 29460a310b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0AC57D54786721D1

Datei anzeigen

@ -347,7 +347,7 @@ public class InventoryPackets {
tag.put(new IntTag(NBT_TAG_NAME, originalId)); // Data will be lost, saving original id 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 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)) { } else if (MappingData.oldToNewItems.containsKey(rawId & ~0xF)) {
rawId &= ~0xF; // Remove data rawId &= ~0xF; // Remove data
} else { } else {