mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
reverted change to SacrificeTargetCost
This commit is contained in:
parent
104ead30af
commit
f6b75537f6
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class SacrificeTargetCost extends CostImpl<SacrificeTargetCost> {
|
|||
|
||||
@Override
|
||||
public boolean pay(Ability ability, Game game, UUID sourceId, UUID controllerId, boolean noMana) {
|
||||
if (targets.chooseTargets(Outcome.Sacrifice, controllerId, ability, game)) {
|
||||
if (targets.choose(Outcome.Sacrifice, controllerId, game)) {
|
||||
for (UUID targetId: targets.get(0).getTargets()) {
|
||||
Permanent permanent = game.getPermanent(targetId);
|
||||
if (permanent == null)
|
||||
|
|
Loading…
Reference in a new issue