From 6c354476afe3b13c2417663a36c5bd566844a379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20=C3=81d=C3=A1m?= Date: Fri, 11 Nov 2022 08:44:41 +0200 Subject: [PATCH] fix formatting --- src/main/java/com/vamk/tbg/game/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/vamk/tbg/game/Game.java b/src/main/java/com/vamk/tbg/game/Game.java index 6bcd98e..8c75479 100644 --- a/src/main/java/com/vamk/tbg/game/Game.java +++ b/src/main/java/com/vamk/tbg/game/Game.java @@ -176,7 +176,7 @@ private void cleanupDeadEntities() { int entities = this.entities.size(); this.entities.removeIf(Entity::isDead); int diff = entities - this.entities.size(); - if (diff > 0) LOGGER.info("Removed %d dead entities from the board"); + if (diff > 0) LOGGER.info("Removed %d dead entities from the board".formatted(diff)); } public void destroy() {