Ore Tweaker

Ore Tweaker

5M Downloads

Gives me an error message when I change the spawnrates of ores.

stmjs opened this issue ยท 1 comments

commented
Minecraft Version

1.16.5

Forge Version

36.2.34

Mod Version

2.7.1

Describe the bug

When I change the spawnRate values, I am met with an error that says "Ore Tweaker (oretweaker) encountered an error during the complete event phase", and then "com.google.gson.JsonSyntaxException:"

How to reproduce

Download all applicable versions and launch them in order to create the folder "C:\Users*****\AppData\Roaming.minecraft\config\oretweaker". For coal ore, diamond ore, gold ore and iron ore, increase the values for "spawnRate", and then relaunch the build. Will be met with an error as described.

Link to crashlog [If Applicable]

https://gist.github.com/stmjs/6c469189ab2d4cb1a6dd1a1ffd742d45

Screenshots / Images

image

commented

com.google.gson.JsonSyntaxException means you did something wrong in the json file.
I suggest you use get a propper text editor for editing json files. You can read more here:
https://github.com/EwyBoy/OreTweaker/wiki/Validating-JSON-File

Most likely a missing , or { or a [ etc..