From dc4de5f6a572eb4c099968f80c46c556c9e6357a Mon Sep 17 00:00:00 2001 From: Connor Monahan Date: Wed, 8 Jun 2016 00:25:36 -0400 Subject: [PATCH] Fix lifepool message at incorrect times --- war/src/main/java/com/tommytony/war/Warzone.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/war/src/main/java/com/tommytony/war/Warzone.java b/war/src/main/java/com/tommytony/war/Warzone.java index a85530f..43758c7 100644 --- a/war/src/main/java/com/tommytony/war/Warzone.java +++ b/war/src/main/java/com/tommytony/war/Warzone.java @@ -1124,7 +1124,7 @@ public class Warzone { this.dropAllStolenObjects(player, false); playerTeam.setRemainingLives(playerTeam.getRemainingLifes() - 1); // Lifepool empty warning - if (playerTeam.getRemainingLifes() - 1 == 0) { + if (playerTeam.getRemainingLifes() == 0) { this.broadcast("zone.lifepool.empty", playerTeam.getName()); } }