CorgiTaco / Block-Swap

GNU Lesser General Public License v3.0
8 stars 2 forks source link

Empty line in file block_swap.json5 causes game crash on world generation #27

Open ExuberantParrot opened 1 year ago

ExuberantParrot commented 1 year ago

Minecraft Version

1.18.2

Block Swap Version

1.0.1

Mod Loader

Forge

Mod Loader Version

40.2.0

What happened?

An empty line at the end of the config file causes the game to crash on world gen with the following error:

java.lang.NullPointerException: Cannot read field "context" because "x0" is null

removing the last empty line solves the issue

crash-log

crash-client.txt

latest.log

latest.log