mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
parent
63b95bffa5
commit
a2bcf7074e
2 changed files with 2 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue