Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 00:00:41 +01:00
Fix enchantments on books Bedrock -> Java (#3713)
Dieser Commit ist enthalten in:
Ursprung
8a25afbc8f
Commit
baae46822e
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren