Log a message as well, when we crash.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
parent
6db8b3c26d
commit
45f5f0904a
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ public class FMLLoader
|
|||
LOGGER.debug(CORE, "Found ForgeSPI package implementation version {}", Environment.class.getPackage().getImplementationVersion());
|
||||
LOGGER.debug(CORE, "Found ForgeSPI package specification {}", Environment.class.getPackage().getSpecificationVersion());
|
||||
if (Integer.parseInt(Environment.class.getPackage().getSpecificationVersion()) < 2) {
|
||||
LOGGER.fatal(CORE, "Found an out of date ForgeSPI implementation: {}, loading cannot continue", Environment.class.getPackage().getSpecificationVersion());
|
||||
throw new IncompatibleEnvironmentException("ForgeSPI is out of date, we cannot continue");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue