fixed phased-out permanents not being invalid targets upon resolution

This commit is contained in:
Evan Kranzler 2017-10-16 17:04:04 -04:00
parent 1c258c6b9f
commit 587e8a75ef

View file

@ -73,7 +73,7 @@ public class FilterPermanent extends FilterObject<Permanent> implements FilterIn
@Override
public boolean match(Permanent permanent, UUID sourceId, UUID playerId, Game game) {
if (!this.match(permanent, game)) {
if (!permanent.isPhasedIn() || !this.match(permanent, game)) {
return false;
}