Shadows-of-Fire / Apotheosis

All things that should have been.
Other
181 stars 131 forks source link

equipment name bug #1372

Closed NeoStarWonV closed 1 month ago

NeoStarWonV commented 1 month ago

I used the mod "Grindstone sharper tools" that the mod will sharpen the tools and gives it an additional name like『已打磨◆剩余』.But the Apotheosis's special equipment name will infinitely repeatedly extend.I don't know why. before sharpen image after sharpen image

Shadows-of-Fire commented 1 month ago

To effectively preserve the underlying item name, the apoth affix name additions are injected unusually. This mod is making a copy of the name with the additions, which then means the apoth name is re-appended to the NBT-encoded name.

In general, copying the item's current name and encoding it as NBT with some kind of addition is prone to all manner of faults (especially for dynamic items), the other mod should find a less fragile approach.