mirror of https://github.com/taoneill/war.git
Fix lifepool message at incorrect times
This commit is contained in:
parent
82741751cf
commit
dc4de5f6a5
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue