Always wrap mod creation errors in LoaderException

to make error message more clear
This commit is contained in:
mezz committed 2018-06-23 12:33:42 -07:00
1 parent 7258beeede
commit 59c3e1baaf
1 file changed
-1
@@ -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);
}