From ca5045b75fbba185a39a057aea5dcd1a654b4d44 Mon Sep 17 00:00:00 2001 From: Rev Date: Sun, 20 Jun 2021 19:50:33 +0900 Subject: [PATCH] use senko api to move this mod to last position in mods list --- main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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