Update LibJF

This commit is contained in:
Johannes Frohnmeyer 2022-01-05 12:26:20 +01:00
parent 2bf5eea248
commit 78dc3219ca
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ maven_group=io.gitlab.jfronny
archives_base_name=dynres
#Dependencies
fabric_version=0.45.0+1.18
jfapi_version=2.2.0
jfapi_version=2.2.2
modrinth_id=v3lfX2LD
modrinth_optional_dependencies=JPP6w2U1

View File

@ -19,7 +19,7 @@ public class DynRes implements WebInit {
resFile = FabricLoader.getInstance().getGameDir().resolve(Cfg.resourcesFile);
if (!Files.exists(resFile)) {
if (FabricLoader.getInstance().getEnvironmentType() == EnvType.SERVER) {
LOGGER.error("The resource file specified in your config could not be found. YOU MUST SPECIFY A RESOURCE PACK FOR IT TO BE SERVED!", new Exception("File not found"));
LOGGER.error("The resource file specified in your config could not be found. YOU MUST SPECIFY A RESOURCE PACK FOR IT TO BE SERVED!");
}
resFile = null;
}