10 lines
310 B
JavaScript
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
|