yell very loudly if NMS bindings fail to initialize

This commit is contained in:
dfsek 2022-05-31 22:56:55 -07:00
parent 675a4465d7
commit b4cdb7f16c

View File

@ -27,7 +27,17 @@ public interface Initializer {
throw new RuntimeException("Error initializing NMS bindings. Report this to Terra.", e);
}
} catch(ClassNotFoundException e) {
logger.warn("NMS bindings for version {} do not exist. Support for this version is limited.", NMS);
logger.error("NMS bindings for version {} do not exist. Support for this version is limited.", NMS);
logger.error("This is usually due to running Terra on an unsupported Minecraft version.");
logger.error("");
logger.error("");
for(int i = 0; i < 20; i++) {
logger.error("PROCEEDING WITH AN EXISTING TERRA WORLD WILL RESULT IN CORRUPTION!!!");
}
logger.error("");
logger.error("");
logger.error("NMS bindings for version {} do not exist. Support for this version is limited.", NMS);
logger.error("This is usually due to running Terra on an unsupported Minecraft version.");
}
}
}