mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
js: fix issue in obfuscated mode
This commit is contained in:
parent
7aefaf37ed
commit
35f1284ac5
|
@ -40,7 +40,7 @@ public class JSWrapperGenerator implements Injector, DependencyPlugin {
|
||||||
break;
|
break;
|
||||||
case "isJava":
|
case "isJava":
|
||||||
context.writeExpr(context.getArgument(0));
|
context.writeExpr(context.getArgument(0));
|
||||||
context.getWriter().append(" instanceof ").appendFunction("$rt_objcls").append("()");
|
context.getWriter().append(" instanceof ").append("$rt_objcls").append("()");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user