mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
Fix TargetsCountAdjuster to always add target even if the max is 0. (#12478)
This commit is contained in:
parent
6a4f45c4c3
commit
b335947afd
1 changed files with 1 additions and 3 deletions
|
|
@ -41,8 +41,6 @@ public class TargetsCountAdjuster implements TargetAdjuster {
|
|||
newTarget.withTargetName(filter.getMessage() + " (up to " + count + " targets)");
|
||||
}
|
||||
ability.getTargets().clear();
|
||||
if (count > 0) {
|
||||
ability.addTarget(newTarget);
|
||||
}
|
||||
ability.addTarget(newTarget);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue