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
|
|
@ -625,10 +625,6 @@ public interface Player extends MageItem, Copyable<Player> {
|
|||
|
||||
boolean choose(Outcome outcome, Target target, Ability source, Game game, Map<String, Serializable> options);
|
||||
|
||||
// TODO: remove to use choose with "Ability source"
|
||||
default boolean choose(Outcome outcome, Cards cards, TargetCard target, Game game) {
|
||||
return choose(outcome, cards, target, null, game);
|
||||
}
|
||||
boolean choose(Outcome outcome, Cards cards, TargetCard target, Ability source, Game game);
|
||||
|
||||
boolean chooseTarget(Outcome outcome, Target target, Ability source, Game game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue