mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 00:07:45 +00:00
Catch throwable (NoClassDefFoundError) and don't abort loading- it's probably a badly named class file.
This commit is contained in:
1 parent
1b299b4ff4
commit
319758bd33
1 file changed
+1
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user