mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fix source of PutCountersSourceCost not being set
This commit is contained in:
parent
f3e6f71987
commit
be69510340
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class PutCountersSourceCost extends CostImpl {
|
||||||
public boolean pay(Ability ability, Game game, UUID sourceId, UUID controllerId, boolean noMana, Cost costToPay) {
|
public boolean pay(Ability ability, Game game, UUID sourceId, UUID controllerId, boolean noMana, Cost costToPay) {
|
||||||
Permanent permanent = game.getPermanent(sourceId);
|
Permanent permanent = game.getPermanent(sourceId);
|
||||||
if (permanent != null) {
|
if (permanent != null) {
|
||||||
this.paid = permanent.addCounters(counter, null, game);
|
this.paid = permanent.addCounters(counter, ability, game);
|
||||||
}
|
}
|
||||||
return paid;
|
return paid;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue