Catch throwable (NoClassDefFoundError) and don't abort loading- it's probably a badly named class file.
This commit is contained in:
parent
1b299b4ff4
commit
319758bd33
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue