From 319758bd33ff07178384e929ddcb4f16aa482e6d Mon Sep 17 00:00:00 2001 From: Christian Weeks Date: Tue, 15 May 2012 22:23:00 -0400 Subject: [PATCH] Catch throwable (NoClassDefFoundError) and don't abort loading- it's probably a badly named class file. --- fml/common/cpw/mods/fml/common/Loader.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fml/common/cpw/mods/fml/common/Loader.java b/fml/common/cpw/mods/fml/common/Loader.java index 6566ac0a99..db591a80bf 100644 --- a/fml/common/cpw/mods/fml/common/Loader.java +++ b/fml/common/cpw/mods/fml/common/Loader.java @@ -497,11 +497,10 @@ public class Loader mod.nextState(); } } - catch (Exception e) + catch (Throwable e) { log.warning(String.format("Failed to load mod class %s in %s", classFileName, classSource.getAbsoluteFile())); log.throwing("fml.server.Loader", "attemptLoad", e); - state = State.ERRORED; } }