aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/index.js b/index.js
index 74c2c3d..956c65c 100644
--- a/index.js
+++ b/index.js
@@ -20,5 +20,16 @@ if(FileLib.read("soopyAddonsData", "deletesoopyv1please.txt") === "true"){
ChatLib.command("ct reload", true)
}).start()
}else{
- new SoopyAddons()
+ if(FileLib.read("soopyAddonsData", "firstload.txt") !== "true"){
+ new Thread(()=>{
+ ChatLib.chat("&7Loading SoopyV2 required modules...") //idk what to say to chat, but it requires an extra ct load after starting to load stuff like mappings
+ Thread.sleep(2000)
+
+ FileLib.write("soopyAddonsData", "firstload.txt", "true")
+
+ ChatLib.command("ct reload", true)
+ }).start()
+ }else{
+ new SoopyAddons()
+ }
} \ No newline at end of file