Make copies of items with replacement data

This commit is contained in:
nea
2023-06-11 04:10:11 +02:00
parent 99fcad8360
commit 48132982cf

View File

@@ -114,6 +114,7 @@ object ItemCache : IReloadable {
cache[this.skyblockItemId] = s
}
if (!loreReplacements.isNullOrEmpty()) {
s = s.copy()!!
s.applyLoreReplacements(loreReplacements)
s.setCustomName(s.name.applyLoreReplacements(loreReplacements))
}