diff --git a/main.js b/main.js index 5f59a5c..f959ae9 100644 --- a/main.js +++ b/main.js @@ -1,3 +1,6 @@ +require('../senko-modapi/api.js'); const { ChooseTheWeather } = require("./src/mod.js"); -ModLoader.onPostLoad[ChooseTheWeather.modName] = ChooseTheWeather.init; \ No newline at end of file +ModLoader.onLoad[ChooseTheWeather.modName] = ChooseTheWeather.init; + +globalThis.ModApi.Load.last(ChooseTheWeather.modName); \ No newline at end of file