Update LibJF
This commit is contained in:
parent
2bf5eea248
commit
78dc3219ca
|
@ -10,7 +10,7 @@ maven_group=io.gitlab.jfronny
|
||||||
archives_base_name=dynres
|
archives_base_name=dynres
|
||||||
#Dependencies
|
#Dependencies
|
||||||
fabric_version=0.45.0+1.18
|
fabric_version=0.45.0+1.18
|
||||||
jfapi_version=2.2.0
|
jfapi_version=2.2.2
|
||||||
|
|
||||||
modrinth_id=v3lfX2LD
|
modrinth_id=v3lfX2LD
|
||||||
modrinth_optional_dependencies=JPP6w2U1
|
modrinth_optional_dependencies=JPP6w2U1
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class DynRes implements WebInit {
|
||||||
resFile = FabricLoader.getInstance().getGameDir().resolve(Cfg.resourcesFile);
|
resFile = FabricLoader.getInstance().getGameDir().resolve(Cfg.resourcesFile);
|
||||||
if (!Files.exists(resFile)) {
|
if (!Files.exists(resFile)) {
|
||||||
if (FabricLoader.getInstance().getEnvironmentType() == EnvType.SERVER) {
|
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;
|
resFile = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue