mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-01-04 15:41:30 +00:00
woops
This commit is contained in:
@@ -28,7 +28,7 @@ public class Reflect {
|
||||
|
||||
c.setAccessible(true);
|
||||
try {
|
||||
return (T) c.newInstance(initArgs);
|
||||
return (T) c.newInstance(initArgs.stream().map(Pair::getB).toArray());
|
||||
} catch (InstantiationException | IllegalAccessException e) {
|
||||
throw new InvocationTargetException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user