* Improved mana source check.

This commit is contained in:
LevelX2 2016-02-14 18:39:33 +01:00
parent 74799d286b
commit 1a12c2b08f

View file

@ -221,6 +221,11 @@ class CompoundFilter<T extends MageItem> extends FilterImpl<T> implements Filter
this.filterB = filterB; this.filterB = filterB;
} }
@Override
public boolean checkObjectClass(Object object) {
return true; // already checked in the filter classes itself
}
@Override @Override
public boolean match(T obj, Game game) { public boolean match(T obj, Game game) {
return (filterA == null return (filterA == null