Errors with config


Hello, using configuration files, I have two errors.
The first seems to come from the PluginContainer object which cannot be recovered, the second is that the program cannot edit the configuration (logical because it is not created).
Could you take a look at this?
Thank you.

Sponge Build: 1.12.2-2768-7.1.5
Forge Build:
Java Version: 8

First error log :

Second error log :

Java Main Class :

Java Config Class :

Thanks !


preInit is called before init so you need to add instance = this; at line 41 in your main class.


It works !
Thank you !