mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Made Desolation account for token lands
This commit is contained in:
parent
0ec39af940
commit
eb22d60b5c
1 changed files with 2 additions and 3 deletions
|
@ -33,7 +33,6 @@ import java.util.UUID;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.cards.Card;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
@ -149,8 +148,8 @@ class DesolationWatcher extends Watcher {
|
|||
if (event.getType() == GameEvent.EventType.TAPPED_FOR_MANA) {
|
||||
UUID playerId = event.getPlayerId();
|
||||
if (playerId != null) {
|
||||
Card card = game.getCard(event.getSourceId());
|
||||
if (card != null && card.isLand()) {
|
||||
Permanent permanent = game.getPermanentOrLKIBattlefield(event.getSourceId());
|
||||
if (permanent != null && permanent.isLand()) {
|
||||
tappedForManaThisTurnPlayers.add(playerId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue