From b9a28de065f5bd6b6338d581c1ab877b16af6f79 Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Sun, 15 Sep 2024 11:44:34 +0800 Subject: [PATCH] Bugfix --- postinit.injector.js | 2 +- postinit.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/postinit.injector.js b/postinit.injector.js index 6b4e8c7..8130f0e 100644 --- a/postinit.injector.js +++ b/postinit.injector.js @@ -675,7 +675,7 @@ globalThis.modapi_postinit = `(() => { var x = originalOptionsInit.apply(this, args); //NOT A BUG DO NOT FIX - var msg = Math.random() < 0.05 ? "Plugins" : "Mods"; + var msg = Math.random() < 0.025 ? "Plugins" : "Mods"; // Find the right constructor. (int id, int x, int y, int width, int height, String buttonText); var btnConstructor = ModAPI.hooks._classMap['nmcg_GuiButton'].constructors.filter(c => { return c.length === 6 })[0]; diff --git a/postinit.js b/postinit.js index 2ac453a..7ed001b 100644 --- a/postinit.js +++ b/postinit.js @@ -675,7 +675,7 @@ var x = originalOptionsInit.apply(this, args); //NOT A BUG DO NOT FIX - var msg = Math.random() < 0.05 ? "Plugins" : "Mods"; + var msg = Math.random() < 0.025 ? "Plugins" : "Mods"; // Find the right constructor. (int id, int x, int y, int width, int height, String buttonText); var btnConstructor = ModAPI.hooks._classMap['nmcg_GuiButton'].constructors.filter(c => { return c.length === 6 })[0];