diff --git a/vcompat-api/src/main/java/net/sourcewriters/minecraft/vcompat/provider/lookup/JavaAccessor.java b/vcompat-api/src/main/java/net/sourcewriters/minecraft/vcompat/provider/lookup/JavaAccessor.java index ba14abb..237c3bf 100644 --- a/vcompat-api/src/main/java/net/sourcewriters/minecraft/vcompat/provider/lookup/JavaAccessor.java +++ b/vcompat-api/src/main/java/net/sourcewriters/minecraft/vcompat/provider/lookup/JavaAccessor.java @@ -57,7 +57,7 @@ public Object initialize(Constructor constructor, Object... arguments) { } try { if (arguments.length == 0) { - return lookup.unreflectConstructor(constructor).invoke(); + return lookup().unreflectConstructor(constructor).invokeWithArguments(); } return lookup().unreflectConstructor(constructor).invokeWithArguments(arguments); } catch (Throwable e) {