fix: take into account empty classes

This commit is contained in:
TopchetoEU 2024-03-28 14:21:23 +02:00
parent 5185c93663
commit 0ac7af2ea3
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4

View File

@ -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 ||