Merge pull request #3381 from exmage/fix-counter-cost-source

Fix source of PutCountersSourceCost not being set
This commit is contained in:
Derek M 2017-05-15 02:03:19 -04:00 committed by GitHub
commit e53e905009

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