SPIGOT-4736: Serialized ItemStack Lore Doesn't Deserialize
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -1191,7 +1191,7 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta {
|
||||
}
|
||||
|
||||
if (hasLore()) {
|
||||
builder.put(LORE.BUKKIT, ImmutableList.copyOf(lore));
|
||||
builder.put(LORE.BUKKIT, ImmutableList.copyOf(Lists.transform(lore, CraftChatMessage::fromComponent)));
|
||||
}
|
||||
|
||||
if (hasCustomModelData()) {
|
||||
|
||||
Reference in New Issue
Block a user