Errors with config


#1

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: 14.23.5.2768
Java Version: 8

First error log :
https://hastebin.com/usolazeled.rb

Second error log :
https://hastebin.com/muvofihoza.rb

Java Main Class :
https://hastebin.com/kihecesilo.java

Java Config Class :
https://hastebin.com/nevutezawu.java

Thanks !


#2

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


#3

It works !
Thank you !
:smile: