forked from External/mage
refactor: rename combat damage checker on single life loss event (#12019)
This commit is contained in:
parent
d886b3e450
commit
8ece278435
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ public class LifeLostBatchEvent extends GameEvent implements BatchGameEvent<Life
|
|||
}
|
||||
|
||||
public boolean isLifeLostByCombatDamage() {
|
||||
return events.stream().anyMatch(LifeLostEvent::isCombatDamage);
|
||||
return events.stream().anyMatch(LifeLostEvent::isLifeLostByCombatDamage);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ public class LifeLostEvent extends GameEvent{
|
|||
playerId, source, playerId, amount, atCombat);
|
||||
}
|
||||
|
||||
public boolean isCombatDamage() {
|
||||
public boolean isLifeLostByCombatDamage() {
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue