Make copies of items with replacement data
This commit is contained in:
@@ -114,6 +114,7 @@ object ItemCache : IReloadable {
|
|||||||
cache[this.skyblockItemId] = s
|
cache[this.skyblockItemId] = s
|
||||||
}
|
}
|
||||||
if (!loreReplacements.isNullOrEmpty()) {
|
if (!loreReplacements.isNullOrEmpty()) {
|
||||||
|
s = s.copy()!!
|
||||||
s.applyLoreReplacements(loreReplacements)
|
s.applyLoreReplacements(loreReplacements)
|
||||||
s.setCustomName(s.name.applyLoreReplacements(loreReplacements))
|
s.setCustomName(s.name.applyLoreReplacements(loreReplacements))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user