Polymod: Blacklist funkin.util.macro.*

It has `CompiledClassList` which allows access to `sys` and Newgrounds API functions.
This commit is contained in:
Hyper_
2025-06-10 06:23:37 -05:00
committed by Abnormal
parent 5342601f8b
commit cadfa3b7ce
+10
View File
@@ -398,6 +398,16 @@ class PolymodHandler
var className:String = Type.getClassName(cls);
Polymod.blacklistImport(className);
}
// `funkin.util.macro.*`
// CompiledClassList's get function allows access to sys and Newgrounds classes
// None of the classes are suitable for mods anyway
for (cls in ClassMacro.listClassesInPackage('funkin.util.macro'))
{
if (cls == null) continue;
var className:String = Type.getClassName(cls);
Polymod.blacklistImport(className);
}
}
/**