watson icon indicating copy to clipboard operation
watson copied to clipboard

Generating 'examplemod.json'

Open dags- opened this issue 10 years ago • 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)

:]

dags- avatar Mar 22 '14 12:03 dags-

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.

totemo avatar Mar 24 '14 04:03 totemo