* Contamination - Fixed a bug that preventzed Contamination from working properly.

This commit is contained in:
LevelX2 2015-02-26 11:24:47 +01:00
parent c681f1583c
commit fe10cde2b9

View file

@ -114,7 +114,7 @@ class ContaminationReplacementEffect extends ReplacementEffectImpl {
@Override
public boolean applies(GameEvent event, Ability source, Game game) {
MageObject mageObject = source.getSourceObject(game);
MageObject mageObject = game.getObject(event.getSourceId());
return mageObject != null && mageObject.getCardType().contains(CardType.LAND);
}
}