mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +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;
|
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
|
||||||
|
|
Loading…
Reference in a new issue