Added more instructions to sponge version check what to do

This commit is contained in:
Risto Lahtela 2021-10-30 11:08:42 +03:00
parent fb998fdc90
commit 5468a22c50

View File

@ -55,9 +55,9 @@ public class SpongeVersionChecker extends VersionChecker {
return Optional.of(OreVersionInfoLoader.load());
} catch (IOException e) {
errorLogger.warn(e, ErrorContext.builder()
.related(locale.getString(PluginLang.VERSION_FAIL_READ_VERSIONS))
.whatToDo("Allow Plan to check for updates from Ore or disable update check.")
.build());
.related(locale.getString(PluginLang.VERSION_FAIL_READ_VERSIONS))
.whatToDo("Allow Plan to check for updates from Ore (" + e.getMessage() + ") or disable update check from Plan config.")
.build());
return Optional.empty();
}
}