mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Contamination - Fixed that it also replaced mana from non land sources.
This commit is contained in:
parent
1342af5349
commit
130da71d45
1 changed files with 4 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
|||
package mage.sets.urzassaga;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageObject;
|
||||
import mage.Mana;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
|
||||
|
@ -113,6 +114,7 @@ class ContaminationReplacementEffect extends ReplacementEffectImpl {
|
|||
|
||||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
return true;
|
||||
MageObject mageObject = source.getSourceObject(game);
|
||||
return mageObject != null && mageObject.getCardType().contains(CardType.LAND);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue