forked from External/mage
refactor: removed useless getNumberOfTargets from Target (replaced with getMinNumberOfTargets)
This commit is contained in:
parent
264eb58644
commit
00dc6f4742
20 changed files with 55 additions and 63 deletions
|
|
@ -2932,7 +2932,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
count = Math.min(searchingLibrary.count(target.getFilter(), game), librarySearchLimit);
|
||||
}
|
||||
|
||||
if (count < target.getNumberOfTargets()) {
|
||||
if (count < target.getMinNumberOfTargets()) {
|
||||
newTarget.setMinNumberOfTargets(count);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue