TheIllusiveC4 / Curios

Minecraft Mod: A flexible and expandable accessory/equipment API for users and developers.
https://www.curseforge.com/minecraft/mc-mods/curios
Other
179 stars 72 forks source link

[Bug]: Singleplayer - Only first item for each slot is saved, others are lost after relogging #422

Closed Malvlis closed 3 months ago

Malvlis commented 3 months ago

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:

How do you trigger this bug?

  1. New CurseForge profile with Curios as the only mod
  2. Add attached datapack
  3. Create a new world with the modpack enabled
  4. Give yourself 2 diamonds in creative and load them in the curio slots, one in each.
  5. Save and exit, and reload the map
  6. 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