Occultism

Occultism

19M Downloads

Storage Controller being wiped.

WhitePhant0m opened this issue ยท 1 comments

commented

Describe the bug
Storage Controllers lose all their contents if an item they had stored in them no longer exists.

To Reproduce
Steps to reproduce the behavior:

  1. Add items into a storage controller from some mod, and some vanilla items as well
  2. Remove said mod
  3. Notice how storage controller is completely empty

Expected behavior
Storage controller not wiping when the item ceases to exist.

System (please complete the following information):

  • Occultism Version: 1.136.5
  • OS: [e.g. Windows] Win11
  • Minecraft Version: 1.21
  • Modpack Link and Version, or list of mods: Craftoria 0.4.0
    I replicated this by putting vanilla items in, and some hammers from Just Hammers, and removing the mod.

Additional context

Error from logs.

commented

Oh crap .. I am using the codecs to serialize the entire inventory .. I suppose they do not have handling for missing items. I'll have to ask the neo people if they add something for that