forked from External/mage
Refactor: improved choose cards method to use source param (fixed NPE like #10233, #9974 and other bugs with choose cards)
This commit is contained in:
parent
5474787641
commit
689b93d005
280 changed files with 341 additions and 342 deletions
|
|
@ -416,7 +416,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
ZoneChangeEvent event = new ZoneChangeEvent(mainCard.getId(), ability, controllerId, fromZone, Zone.STACK);
|
||||
Spell spell = new Spell(this, ability.getSpellAbilityToResolve(game), controllerId, event.getFromZone(), game);
|
||||
ZoneChangeInfo.Stack info = new ZoneChangeInfo.Stack(event, spell);
|
||||
return ZonesHandler.cast(info, game, ability);
|
||||
return ZonesHandler.cast(info, ability, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue