3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-09-08 12:32:53 +02:00
Dieser Commit ist enthalten in:
rtm516 2020-04-12 01:45:31 +01:00 committet von GitHub
Ursprung 68d7f2629a
Commit 76e29af6b8
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -77,8 +77,10 @@ public class ItemTranslator {
CompoundTag tag = stack.getNbt();
IntTag mapId = tag.get("map");
if (mapId != null)
if (mapId != null) {
tag.put(new StringTag("map_uuid", mapId.getValue().toString()));
tag.put(new IntTag("map_name_index", mapId.getValue()));
}
return ItemData.of(bedrockItem.getBedrockId(), (short) bedrockItem.getBedrockData(), stack.getAmount(), translateToBedrockNBT(tag));