mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
* Contamination - Fixed a bug that preventzed Contamination from working properly.
This commit is contained in:
parent
c681f1583c
commit
fe10cde2b9
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ class ContaminationReplacementEffect extends ReplacementEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
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);
|
return mageObject != null && mageObject.getCardType().contains(CardType.LAND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue