funni js (#6566)
This commit is contained in:
@@ -79,9 +79,10 @@ public interface Platform{
|
|||||||
}
|
}
|
||||||
|
|
||||||
default Context getScriptContext(){
|
default Context getScriptContext(){
|
||||||
Context c = Context.enter();
|
Context context = Context.getCurrentContext();
|
||||||
c.setOptimizationLevel(9);
|
if(context == null) context = Context.enter();
|
||||||
return c;
|
context.setOptimizationLevel(9);
|
||||||
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Update discord RPC. */
|
/** Update discord RPC. */
|
||||||
|
|||||||
Reference in New Issue
Block a user