Return on config fail

This commit is contained in:
Camotoy 2021-06-07 09:58:17 -04:00
parent 88cb680c3f
commit d07a69be89

View file

@ -104,6 +104,7 @@ public class GeyserFabricMod implements ModInitializer, GeyserBootstrap {
} catch (IOException ex) { } catch (IOException ex) {
LogManager.getLogger("geyser-fabric").error(LanguageUtils.getLocaleStringLog("geyser.config.failed"), ex); LogManager.getLogger("geyser-fabric").error(LanguageUtils.getLocaleStringLog("geyser.config.failed"), ex);
ex.printStackTrace(); ex.printStackTrace();
return;
} }
this.geyserLogger = new GeyserFabricLogger(geyserConfig.isDebugMode()); this.geyserLogger = new GeyserFabricLogger(geyserConfig.isDebugMode());