This commit is contained in:
Alex W. Jackson 2022-09-09 22:42:03 -04:00
parent 63b95bffa5
commit a2bcf7074e
2 changed files with 2 additions and 6 deletions

View file

@ -23,7 +23,8 @@ public final class ExplosiveWelcome extends CardImpl {
private static final FilterCreaturePlayerOrPlaneswalker filter = new FilterCreaturePlayerOrPlaneswalker();
static {
filter.add(new AnotherTargetPredicate(2));
filter.getPermanentFilter().add(new AnotherTargetPredicate(2));
filter.getPlayerFilter().add(new AnotherTargetPredicate(2));
}
public ExplosiveWelcome(UUID ownerId, CardSetInfo setInfo) {

View file

@ -47,11 +47,6 @@ public class FilterPermanentOrPlayer extends FilterImpl<MageItem> implements Fil
return true;
}
public void add(ObjectSourcePlayerPredicate predicate) {
playerFilter.add((Predicate<? super Player>) predicate);
permanentFilter.add((Predicate<? super Permanent>) predicate);
}
@Override
public boolean match(MageItem o, Game game) {
if (super.match(o, game)) {