umm/mods/overrides/kubejs/startup_scripts/settings.js
2024-03-20 20:29:50 +01:00

10 lines
310 B
JavaScript

let settings = JsonIO.read('kubejs/CustomPackSettings.json')
if (settings == null) {
settings = {
extraLogging: false,
_comments: "extraLogging is mostly for development work"
}
JsonIO.write('kubejs/CustomPackSettings.json', settings)
}
global['devLogging'] = settings.extraLogging