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

@@ -141,7 +141,7 @@ public class Settings implements Activity {
Graphics gph = watermark.getGraphics();
gph.setFont(gph.getFont().deriveFont(12f));
gph.drawString("v" + config.getJarVersion(), 335, 120);
gph.drawString("v" + Configuration.jarVersion, 335, 120);
gph.dispose();
labelImage = new JLabel(new ImageIcon(watermark));