From 59c3e1baaf31b4ffb3b0f659b0e9266ac0106d99 Mon Sep 17 00:00:00 2001 From: mezz Date: Sat, 23 Jun 2018 12:33:13 -0700 Subject: [PATCH] Always wrap mod creation errors in LoaderException to make error message more clear --- src/main/java/net/minecraftforge/fml/common/FMLModContainer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/minecraftforge/fml/common/FMLModContainer.java b/src/main/java/net/minecraftforge/fml/common/FMLModContainer.java index 72f58ecc3..08ea2fd8d 100644 --- a/src/main/java/net/minecraftforge/fml/common/FMLModContainer.java +++ b/src/main/java/net/minecraftforge/fml/common/FMLModContainer.java @@ -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); }