mirror of
https://github.com/taoneill/war.git
synced 2025-02-18 12:21:20 +01:00
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);
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user