[Bug]: Singleplayer - Only first item for each slot is saved, others are lost after relogging
Malvlis opened this issue ยท 0 comments
Minecraft Version
1.20.6
What happened?
While testing a new mod in single player, items kept disappearing. Seems only the first item in each stack is saved, and the remaining are lost.
Replicated using minimal datapack + Curios only, to exclude interference from other mods or buggy code.
The datapack itself (attached) only has the minimal files required to enable a "curio" inventory with 2 slots for holding diamonds.
test_curios.zip
Also tested adding two curio inventories with one slot each. In this case, both items are preserved.
Using:
- Curios [8.0.0*+1.20.6]
- forge [50.1.*]
- Minecraft 1.20.6
How do you trigger this bug?
- New CurseForge profile with Curios as the only mod
- Add attached datapack
- Create a new world with the modpack enabled
- Give yourself 2 diamonds in creative and load them in the curio slots, one in each.
- Save and exit, and reload the map
- Check curio inventory, confirm that only the first diamond is present
Loader
Forge
Loader Version
50.1.6
Mod Version
curios-forge-8.0.0+1.20.6
Relevant Log Outputs
No response