diff --git a/injector.html b/injector.html
index 54ea6d8..1f5b13e 100644
--- a/injector.html
+++ b/injector.html
@@ -18,8 +18,9 @@
ModAPI.hooks ||= {};
ModAPI.hooks._rippedData ||= [];
ModAPI.hooks._rippedConstructors ||= {};
-ModAPI.hooks._rippedMethods ||= {};
+ModAPI.hooks.methods ||= {};
ModAPI.hooks._rippedMethodTypeMap ||= {};
+ModAPI.hooks._postInit ||= ()=>{};
`
document.querySelector("#giveme").addEventListener("click", ()=>{
if ((!document.querySelector("input").files) || !document.querySelector("input").files[0]) {
@@ -39,15 +40,11 @@ patchedFile = patchedFile.replace("\r", "").replace("var main;\n(function() {",
patchedFile = patchedFile.replace(/function \$rt_metadata\(data\)( ?){/gm,
`function $rt_metadata(data) {
/*/EaglerForge Client Patch/*/
- if (ModAPI.hooks.__patchRippedData)
- {
- ModAPI.hooks.__patchRippedData(data)
- };
ModAPI.hooks._rippedData.push(data);
/*/EaglerForge Client Patch/*/`
);
- patchedFile = patchedFile.replace(` id="game_frame">`, ` id="game_frame">\
+