Catch throwable (NoClassDefFoundError) and don't abort loading- it's probably a badly named class file.

This commit is contained in:
Christian Weeks 2012-05-15 22:23:00 -04:00
parent 1b299b4ff4
commit 319758bd33

View file

@ -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;
}
}