- Remove an unused parameter

This commit is contained in:
Michael Kamensky
2021-03-03 09:37:14 +03:00
parent 159d358725
commit ce72ee0766

View File

@@ -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) {