Fixed counter replacement effects with Doubling Season and Pir, Imaginative Rascal

This commit is contained in:
Evan Kranzler 2018-05-29 12:31:11 -04:00
parent 52243eb75c
commit e1aa40cbf7
6 changed files with 30 additions and 12 deletions

View file

@ -72,7 +72,7 @@ public class PutCountersSourceCost extends CostImpl {
public boolean pay(Ability ability, Game game, UUID sourceId, UUID controllerId, boolean noMana, Cost costToPay) {
Permanent permanent = game.getPermanent(sourceId);
if (permanent != null) {
this.paid = permanent.addCounters(counter, ability, game);
this.paid = permanent.addCounters(counter, ability, game, false);
}
return paid;
}