forked from External/mage
Migrated some card moving callers to non-deprecated method.
Since the function the were calling just calls into the non-deprecated method, this is a low risk change.
This commit is contained in:
parent
bd51cd5f77
commit
4b6bbacd8c
35 changed files with 46 additions and 41 deletions
|
|
@ -3102,7 +3102,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
}
|
||||
}
|
||||
}
|
||||
return moveCards(cardList, fromZone, toZone, source, game);
|
||||
return moveCards(cardList, toZone, source, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -3111,12 +3111,12 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
if (card != null) {
|
||||
cardList.add(card);
|
||||
}
|
||||
return moveCards(cardList, fromZone, toZone, source, game);
|
||||
return moveCards(cardList, toZone, source, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean moveCards(Set<Card> cards, Zone fromZone, Zone toZone, Ability source, Game game) {
|
||||
return moveCards(cards, toZone, source, game, false, false, false, null);
|
||||
public boolean moveCards(Set<Card> cards, Zone toZone, Ability source, Game game) {
|
||||
return moveCards(cards, toZone, source, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -3139,7 +3139,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean moveCards(Set<Card> cards, Zone toZone, Ability source, Game game) {
|
||||
public boolean moveCards(Set<Card> cards, Zone fromZone, Zone toZone, Ability source, Game game) {
|
||||
return moveCards(cards, toZone, source, game, false, false, false, null);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue