mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
Patchfix
This commit is contained in:
parent
841e056606
commit
45283aa769
@ -177,13 +177,14 @@ globalThis.modapi_guikit = `// ModAPI GUI made by TheIdiotPlays
|
||||
document.querySelector("#modapi_gui_container").remove();
|
||||
}
|
||||
|
||||
document.querySelector("#modapi_gui_container")._cb = cb;
|
||||
var element = document.createElement("div");
|
||||
|
||||
element.innerHTML = gui.replace("{splash_msg}", splashes[Math.floor(Math.random() * splashes.length)]);
|
||||
|
||||
document.body.appendChild(element);
|
||||
|
||||
document.querySelector("#modapi_gui_container")._cb = cb;
|
||||
|
||||
var modsList = await getMods();
|
||||
var tbody = document.querySelector("#modapi_gui_container .modTable tbody");
|
||||
tbody.innerHTML = "";
|
||||
|
@ -176,8 +176,6 @@
|
||||
cb ||= document.querySelector("#modapi_gui_container")._cb;
|
||||
document.querySelector("#modapi_gui_container").remove();
|
||||
}
|
||||
|
||||
document.querySelector("#modapi_gui_container")._cb = cb;
|
||||
|
||||
var element = document.createElement("div");
|
||||
|
||||
@ -185,6 +183,8 @@
|
||||
|
||||
document.body.appendChild(element);
|
||||
|
||||
document.querySelector("#modapi_gui_container")._cb = cb;
|
||||
|
||||
var modsList = await getMods();
|
||||
var tbody = document.querySelector("#modapi_gui_container .modTable tbody");
|
||||
tbody.innerHTML = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user