Skip to content

Store inventory dumps in their own data subfolder - #65

Open
Eldrinn-Elantey wants to merge 1 commit into
masterfrom
inventory-dumps-subfolder
Open

Eldrinn-Elantey wants to merge 1 commit into
masterfrom
inventory-dumps-subfolder

Conversation

@Eldrinn-Elantey

Copy link
Copy Markdown

Summary

Inventory dumps went straight into /data because the code used the vanilla getMapFileFromName helper, mixing hundreds of files with map and village data.

They now go to /data/openblocks_inventories. Reading falls back to the old location and ob_inventory completion lists both, so existing dumps stay restorable. Old files are not migrated, they can be deleted or left alone.

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

Dumps went straight into <world>/data because the code used the vanilla getMapFileFromName helper, mixing them with map and village data. They now live in <world>/data/openblocks_inventories, and reading falls back to the old location so existing dumps stay restorable.
@Eldrinn-Elantey
Eldrinn-Elantey requested a review from a team September 4, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant