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

View File

@ -1124,7 +1124,7 @@ public class Warzone {
this.dropAllStolenObjects(player, false); this.dropAllStolenObjects(player, false);
playerTeam.setRemainingLives(playerTeam.getRemainingLifes() - 1); playerTeam.setRemainingLives(playerTeam.getRemainingLifes() - 1);
// Lifepool empty warning // Lifepool empty warning
if (playerTeam.getRemainingLifes() - 1 == 0) { if (playerTeam.getRemainingLifes() == 0) {
this.broadcast("zone.lifepool.empty", playerTeam.getName()); this.broadcast("zone.lifepool.empty", playerTeam.getName());
} }
} }