mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Remove an unused parameter
This commit is contained in:
@@ -1550,7 +1550,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
} else {
|
} else {
|
||||||
if (!sa.hasParam("Mandatory") && origin.contains(ZoneType.Battlefield) && sa.hasParam("ChangeNum")) {
|
if (!sa.hasParam("Mandatory") && origin.contains(ZoneType.Battlefield) && sa.hasParam("ChangeNum")) {
|
||||||
// exclude tokens, they won't come back, and enchanted stuff, since auras will go away
|
// exclude tokens, they won't come back, and enchanted stuff, since auras will go away
|
||||||
fetchList = prefilterListForBounceAnyNum(sa, fetchList, decider);
|
fetchList = prefilterListForBounceAnyNum(fetchList, decider);
|
||||||
if (fetchList.isEmpty()) {
|
if (fetchList.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -1624,7 +1624,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static CardCollection prefilterListForBounceAnyNum(SpellAbility sa, CardCollection fetchList, Player decider) {
|
private static CardCollection prefilterListForBounceAnyNum(CardCollection fetchList, Player decider) {
|
||||||
fetchList = CardLists.filter(fetchList, new Predicate<Card>() {
|
fetchList = CardLists.filter(fetchList, new Predicate<Card>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(final Card card) {
|
public boolean apply(final Card card) {
|
||||||
|
|||||||
Reference in New Issue
Block a user