totemo/watson

Generating 'examplemod.json'

Opened this issue · 1 comments

Nothing major, I just noticed recently that Watson generates an empty 'examplemod.json' file in the 'liteconfig/config.1.x.x' folder.

Line 51 of the LiteModWatson class:
https://github.com/totemo/watson/blob/master/src/watson/LiteModWatson.java#L51
(looks like it was just left in from mumfrey's template)

:]

Ah yeah. Thanks. It's my understanding that that code's inert until I define some properties to save with the @expose annotation and modify them causing the corresponding ExposableConfigWriter to be marked dirty. (It initialises to not dirty.)

I'll sort this out when I switch to using LiteLoader's configuration management stuff.