mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Removed unneccessary log message from MoveToZone STACK => EXILE.
This commit is contained in:
parent
1338de4269
commit
aff2489e7a
2 changed files with 6 additions and 2 deletions
|
@ -35,7 +35,7 @@ import mage.abilities.costs.Cost;
|
|||
import mage.abilities.costs.common.SacrificeTargetCost;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.ExileSourceEffect;
|
||||
import mage.abilities.effects.common.ExileSpellEffect;
|
||||
import mage.cards.Card;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
|
@ -91,7 +91,7 @@ public class RescueFromTheUnderworld extends CardImpl<RescueFromTheUnderworld> {
|
|||
Target target = new TargetCardInYourGraveyard(new FilterCreatureCard("creature card in your graveyard"));
|
||||
target.setRequired(true);
|
||||
this.getSpellAbility().addTarget(target);
|
||||
this.getSpellAbility().addEffect(new ExileSourceEffect());
|
||||
this.getSpellAbility().addEffect(ExileSpellEffect.getInstance());
|
||||
}
|
||||
|
||||
public RescueFromTheUnderworld(final RescueFromTheUnderworld card) {
|
||||
|
|
|
@ -50,6 +50,7 @@ import org.apache.log4j.Logger;
|
|||
import java.lang.reflect.Constructor;
|
||||
import java.util.*;
|
||||
import mage.constants.SpellAbilityType;
|
||||
import static mage.constants.Zone.EXILED;
|
||||
import mage.game.command.Commander;
|
||||
|
||||
|
||||
|
@ -414,6 +415,9 @@ public abstract class CardImpl<T extends CardImpl<T>> extends MageObjectImpl<T>
|
|||
case EXILED:
|
||||
game.getExile().removeCard(this, game);
|
||||
break;
|
||||
case STACK:
|
||||
// nothing to do
|
||||
break;
|
||||
default:
|
||||
logger.warn("moveToExile, not fully implemented: from="+fromZone);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue