diff --git a/Mage.Sets/src/mage/cards/h/HeartWolf.java b/Mage.Sets/src/mage/cards/h/HeartWolf.java index 6692e3fd00..7409660149 100644 --- a/Mage.Sets/src/mage/cards/h/HeartWolf.java +++ b/Mage.Sets/src/mage/cards/h/HeartWolf.java @@ -86,10 +86,8 @@ class HeartWolfDelayedTriggeredAbility extends DelayedTriggeredAbility { @Override public boolean checkTrigger(GameEvent event, Game game) { - System.out.println("Source: "+game.getCard(sourceId).getLogName()); - System.out.println("Source ID: "+sourceId); ZoneChangeEvent zEvent = (ZoneChangeEvent) event; - if(zEvent.getFromZone() == Zone.BATTLEFIELD && zEvent.getTarget() != null && zEvent.getTargetId().equals(getTargets().getFirstTarget())){ + if (zEvent.getFromZone() == Zone.BATTLEFIELD && zEvent.getTarget() != null && zEvent.getTargetId().equals(getTargets().getFirstTarget())) { this.getTargets().clear(); // else spell fizzles because target creature died return true; } @@ -105,9 +103,4 @@ class HeartWolfDelayedTriggeredAbility extends DelayedTriggeredAbility { public String getRule() { return "When that creature leaves the battlefield this turn, sacrifice {this}."; } - - @Override - public String toString() { - return "HeartWolfDelayedTriggeredAbility as a string!"; - } } \ No newline at end of file diff --git a/Mage/src/main/java/mage/abilities/effects/common/SacrificeSourceEffect.java b/Mage/src/main/java/mage/abilities/effects/common/SacrificeSourceEffect.java index 8918989958..26e828dc58 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/SacrificeSourceEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/SacrificeSourceEffect.java @@ -31,9 +31,7 @@ public class SacrificeSourceEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { - System.out.println("Source class: "+ source.getClass().getName()); MageObject sourceObject = source.getSourceObjectIfItStillExists(game); - System.out.println("Source object: "+sourceObject); if (sourceObject == null) { // Check if the effect was installed by the spell the source was cast by (e.g. Necromancy), if not don't sacrifice the permanent if (source.getSourceObject(game) instanceof Spell) {