Attempt to fix reflection InvocationTargetException
This commit is contained in:
parent
180401b8ef
commit
5865063fa0
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ public class MekanismInduction implements IModule
|
|||
{
|
||||
try
|
||||
{
|
||||
itemPartWire = (Item) Class.forName("mekanism.induction.common.wire.ItemPartWire").getConstructor(Integer.TYPE).newInstance(getNextItemID());
|
||||
itemPartWire = (Item) Class.forName("mekanism.induction.common.wire.ItemPartWire").getDeclaredConstructor(Integer.TYPE).newInstance(getNextItemID());
|
||||
Mekanism.logger.fine("Mekanism Induction multipart loaded.");
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Reference in a new issue