mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Improved mana source check.
This commit is contained in:
parent
74799d286b
commit
1a12c2b08f
1 changed files with 5 additions and 0 deletions
|
@ -221,6 +221,11 @@ class CompoundFilter<T extends MageItem> extends FilterImpl<T> implements Filter
|
|||
this.filterB = filterB;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean checkObjectClass(Object object) {
|
||||
return true; // already checked in the filter classes itself
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean match(T obj, Game game) {
|
||||
return (filterA == null
|
||||
|
|
Loading…
Reference in a new issue