Fixed FastItemStack#setLore being italicised

This commit is contained in:
Auxilor
2021-08-07 15:07:29 +01:00
parent 1086a59a6a
commit 136f1841b4
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ class NMSFastItemStack(itemStack: org.bukkit.inventory.ItemStack) : EcoFastItemS
val jsonLore: MutableList<String> = ArrayList()
if (lore != null) {
for (s in lore) {
jsonLore.add(StringUtils.legacyToJson(s))
jsonLore.add(StringUtils.legacyToJson("§r§f$s"))
}
}
val displayTag = handle.a("display")

View File

@@ -63,7 +63,7 @@ class NMSFastItemStack(itemStack: org.bukkit.inventory.ItemStack) : EcoFastItemS
if (lore != null) {
for (s in lore) {
jsonLore.add(StringUtils.legacyToJson(s))
jsonLore.add(StringUtils.legacyToJson("§r§f$s"))
}
}