Fixed issue #201 - Crypt Ghast ability triggered also for lands tapped by opponent.

This commit is contained in:
LevelX2 2013-04-18 19:00:52 +02:00
parent 7bc69ba1da
commit 26499acbeb

View file

@ -95,7 +95,7 @@ class CryptGhastTriggeredAbility extends TriggeredManaAbility<CryptGhastTriggere
public boolean checkTrigger(GameEvent event, Game game) {
if (event.getType() == GameEvent.EventType.TAPPED_FOR_MANA) {
Permanent land = game.getPermanent(event.getTargetId());
if (land != null && filter.match(land, game)) {
if (land != null && filter.match(land, this.getSourceId(), this.getControllerId(), game)) {
return true;
}
}