Fixed bridges not linking when landing

This commit is contained in:
Anuken
2026-02-05 07:15:44 -05:00
parent 9ffc9cb4f4
commit dced8834b6
6 changed files with 16 additions and 5 deletions

View File

@@ -46,9 +46,7 @@ public class Scripts implements Disposable{
Object o = context.evaluateString(scope, text, "console.js", 1);
if(o instanceof NativeJavaObject n) o = n.unwrap();
if(o == null) o = "null";
else if(o instanceof Undefined) o = "undefined";
else if(o instanceof Object[] arr) o = Arrays.toString(arr);
else if(o instanceof int[] arr) o = Arrays.toString(arr);
else if(o instanceof float[] arr) o = Arrays.toString(arr);