Always wrap mod creation errors in LoaderException

to make error message more clear
This commit is contained in:
mezz 2018-06-23 12:33:13 -07:00
parent 7258beeede
commit 59c3e1baaf

View file

@ -589,7 +589,6 @@ public class FMLModContainer implements ModContainer
}
catch (Exception e)
{
Throwables.throwIfUnchecked(e);
FormattedMessage message = new FormattedMessage("{} Failed to load new mod instance.", getModId());
throw new LoaderException(message.getFormattedMessage(), e);
}