From 130da71d45f7770bdacff18e2821cca980ab637c Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 14 Feb 2015 11:46:03 +0100 Subject: [PATCH] * Contamination - Fixed that it also replaced mana from non land sources. --- Mage.Sets/src/mage/sets/urzassaga/Contamination.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/urzassaga/Contamination.java b/Mage.Sets/src/mage/sets/urzassaga/Contamination.java index b65b9ff781..c4ebedb2ad 100644 --- a/Mage.Sets/src/mage/sets/urzassaga/Contamination.java +++ b/Mage.Sets/src/mage/sets/urzassaga/Contamination.java @@ -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); } -} \ No newline at end of file +}