Fix source of PutCountersSourceCost not being set

This commit is contained in:
Ex Mage 2017-05-15 00:11:46 -04:00
parent f3e6f71987
commit be69510340

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, null, game);
this.paid = permanent.addCounters(counter, ability, game);
}
return paid;
}