diff --git a/src/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java b/src/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java index aa424d3..3168981 100644 --- a/src/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java +++ b/src/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java @@ -289,7 +289,7 @@ public class NativeWrapperProvider implements WrapperProvider { } private void initType(Class clazz, FunctionValue constr, ObjectValue proto) { - if (constr != null && proto != null) return; + if (constr != null && proto != null || ignore.contains(clazz)) return; // i vomit if ( clazz == Object.class ||