From a89ae85c78db28d58117cc3d365a986b4e95077d Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Wed, 30 Oct 2024 16:39:28 +0800 Subject: [PATCH] remove metacheck step --- postinit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postinit.js b/postinit.js index 126751f..5122f04 100644 --- a/postinit.js +++ b/postinit.js @@ -291,7 +291,7 @@ globalThis.modapi_postinit = "(" + (() => { }; //Prototype Injection, allows for far easier access to methods - if (typeof item === "function" && item.$meta && ModAPI.hooks._rippedMethodTypeMap[method] === "instance") { + if (typeof item === "function" && ModAPI.hooks._rippedMethodTypeMap[method] === "instance") { item.prototype["$" + method.replace(compiledName + "_", "")] ||= function (...args) { return ModAPI.hooks.methods[method].apply(this, [this, ...args]); }