remove metacheck step

This commit is contained in:
ZXMushroom63 2024-10-30 16:39:28 +08:00
parent cf3f4bb558
commit a89ae85c78

View File

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