blushiemagic / MagicStorage

A tModLoader mod for Terraria
MIT License
178 stars 101 forks source link

make ItemTypeOrderedSet save behavior more stable #263

Closed buzzers closed 10 months ago

buzzers commented 11 months ago

Currently ItemTypeOrderedSet saves Item.Type directly. This results in erratic behavior when loaded mods change. This PR uses ItemDefinition to save the list as a name reference to make the behavior more stable.