3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-07-06 13:28:06 +02:00

Fix enchantments on books Bedrock -> Java (#3713)

Dieser Commit ist enthalten in:
onebeastchris 2023-04-28 22:29:46 +02:00 committet von GitHub
Ursprung 8a25afbc8f
Commit baae46822e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -197,7 +197,11 @@ public class Item {
}
}
if (!enchantments.isEmpty()) {
tag.put(new ListTag("Enchantments", enchantments));
if ((this instanceof EnchantedBookItem)) {
tag.put(new ListTag("StoredEnchantments", enchantments));
} else {
tag.put(new ListTag("Enchantments", enchantments));
}
}
}
}