diff --git a/src/main/java/net/countercraft/movecraft/warfare/bar/AssaultBarManager.java b/src/main/java/net/countercraft/movecraft/warfare/bar/AssaultBarManager.java index f909719..b6a8370 100644 --- a/src/main/java/net/countercraft/movecraft/warfare/bar/AssaultBarManager.java +++ b/src/main/java/net/countercraft/movecraft/warfare/bar/AssaultBarManager.java @@ -40,11 +40,11 @@ public void run() { case PREPARATION: long elapsed = Duration.between(assault.getStartTime(), LocalDateTime.now()).toMillis(); bossBar.setProgress(Math.min(elapsed / (Config.AssaultDelay * 1000.0), 1.0)); - bossBar.setTitle(assault.getRegionName() + ": " + Math.round(((Config.AssaultDelay * 1000.0) - elapsed) / 1000.0)); + bossBar.setTitle(assault.getRegionName() + ": " + String.format("%,d", Math.round(((Config.AssaultDelay * 1000.0) - elapsed) / 1000.0))); break; case IN_PROGRESS: bossBar.setProgress(Math.min((double) assault.getDamages() / assault.getMaxDamages(), 1.0)); - bossBar.setTitle(assault.getRegionName() + ": " + String.format("%,d", assault.getDamages()) + "/" + String.format("%,d", assault.getMaxDamages())); + bossBar.setTitle(assault.getRegionName() + ": " + String.format("%,d", assault.getDamages()) + " / " + String.format("%,d", assault.getMaxDamages())); break; }