This commit is contained in:
ZXMushroom63 2024-09-15 11:44:34 +08:00
parent 4d2f13eac0
commit b9a28de065
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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];