Cache jarVersion and let it complain only once

This commit is contained in:
DaCool
2021-12-30 17:46:20 +00:00
committed by Sheepit Renderfarm
parent ba1f865316
commit 27d992f485
6 changed files with 20 additions and 20 deletions

View File

@@ -431,7 +431,7 @@ public class Worker {
settingsLoader.markLaunchSettings(List.of(args));
}
Log.getInstance(config).debug("client version " + config.getJarVersion());
Log.getInstance(config).debug("client version " + Configuration.jarVersion);
// Hostname change will overwrite the existing one (default or read from configuration file) but changes will be lost when the client closes
if (hostname != null) {