mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-01-09 01:37:44 +01:00
Allow custom amounts of lives lost for group lives
This commit is contained in:
parent
3d14c0ba24
commit
e6055dd4f0
@ -864,7 +864,7 @@ public class DGamePlayer extends DInstancePlayer {
|
||||
}
|
||||
|
||||
if (getDGroup() != null && dGroup.getLives() != -1) {
|
||||
dGroup.setLives(dGroup.getLives() - 1);
|
||||
dGroup.setLives(dGroup.getLives() - dPlayerDeathEvent.getLostLives());
|
||||
gameWorld.sendMessage(DMessage.GROUP_DEATH.getMessage(getName(), dGroup.getName(), String.valueOf(dGroup.getLives())));
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user