forked from External/mage
remove unnecessary method that missed source param
This commit is contained in:
parent
4e929dfbbd
commit
50acfad59c
10 changed files with 9 additions and 19 deletions
|
|
@ -46,7 +46,7 @@ public class ManaValueInGraveyard implements DynamicValue {
|
|||
return 0;
|
||||
}
|
||||
int value = player.getGraveyard().stream().map(game::getCard).filter(Objects::nonNull)
|
||||
.filter(card -> filter.match(card, playerId, game)).mapToInt(MageObject::getManaValue).sum();
|
||||
.filter(card -> filter.match(card, playerId, sourceAbility, game)).mapToInt(MageObject::getManaValue).sum();
|
||||
if (multiplier != null) {
|
||||
value *= multiplier;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue