remove unnecessary method that missed source param

This commit is contained in:
xenohedron 2025-06-08 00:57:07 -04:00
parent 4e929dfbbd
commit 50acfad59c
10 changed files with 9 additions and 19 deletions

View file

@ -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;
}