Fix private class bug

This commit is contained in:
NeeEoo
2023-08-13 19:29:08 +02:00
parent d0797ad5d8
commit a754c162d9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -273,7 +273,7 @@ class ClassExtendMacro {
// Todo: make it possible to override
if(cl.name == "FunkinShader" || cl.name == "CustomShader" || cl.name == "MultiThreadedScript") {
Context.defineModule(cl.module + CLASS_SUFFIX, [shadowClass], imports);
Context.defineModule(cl.module, [shadowClass], imports);
return fields;
}
@@ -409,7 +409,7 @@ class ClassExtendMacro {
if(aa.indexOf("pack") >= 0)
if(cl.name == "FunkinShader")*/
Context.defineModule(cl.module + CLASS_SUFFIX, [shadowClass], imports);
Context.defineModule(cl.module, [shadowClass], imports);
}
return fields;
+1 -1
View File
@@ -95,7 +95,7 @@ class UsingHandler {
default:
}
Context.defineModule(cl.module + "_HSC", [shadowClass], imports);
Context.defineModule(cl.module, [shadowClass], imports);
}
return fields;