Fix lifepool message at incorrect times

This commit is contained in:
Connor Monahan 2016-06-08 00:25:36 -04:00
parent 82741751cf
commit dc4de5f6a5
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}