mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
parent
63b95bffa5
commit
a2bcf7074e
2 changed files with 2 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue