Ore Tweaker

Ore Tweaker

5M Downloads

[Bug] Crash when there are non-JSON files in the data directory

tungstonminer opened this issue ยท 1 comments

commented
Minecraft Version

1.18.1

Forge Version

39.1.0

Mod Version

3.0.2

Describe the bug

If any non-JSON files are present in the config/oretweaker/data directory, it will attempt to read them as though they were regular JSON files. This fails, and causes the game to fail to load.

How to reproduce

Place any non-JSON file in the data directory.

Link to crashlog [If Applicable]

See Discord chat.

Screenshots / Images

n/a

commented

Fixed in:

  • v1.16.5 - 2.7.1
  • v1.17.1 - 2.6.1
  • v1.18.1 - 3.3.0
  • v1.18.2 - 3.3.0