mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -08:00
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
|
|
@ -539,7 +539,7 @@ public class TestPlayer implements Player {
|
|||
}
|
||||
|
||||
// found, can use as target
|
||||
if (currentTarget.getNumberOfTargets() == 1) {
|
||||
if (currentTarget.getMinNumberOfTargets() == 1) {
|
||||
currentTarget.clearChosen();
|
||||
}
|
||||
if (currentTarget.getOriginalTarget() instanceof TargetCreaturePermanentAmount) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue