summaryrefslogtreecommitdiff
path: root/src/main/resources/META-INF
diff options
context:
space:
mode:
author alemi <me@alemi.dev>2023-03-08 17:22:00 +0100
committer alemi <me@alemi.dev>2023-03-08 17:22:00 +0100
commit7a6102dfbfbf8254b5beb14c4d1dd049a18ef1d4 (patch)
treeab1c957848a1b8217a32414d253d10cb73db6612 /src/main/resources/META-INF
parent1a189e9c8aeb5a6ee72b1385d1ac96220941fba1 (diff)
fix: settings getting corrupted on load
bear with me: issue likely was that all mods were enabled and saved concurrently while being loaded, messing up with config. Ok, must run callbacks and register mod but not touch config file. Solved by removing onEnabled/onDisabled callbacks, making mods directly override enable/disable. Made the implementations in AbstractModule check this.enabled before acting on config.
Diffstat (limited to 'src/main/resources/META-INF')
0 files changed, 0 insertions, 0 deletions