From 5efb2c2e40c63be21ac1730eb73d12dba10947cb Mon Sep 17 00:00:00 2001 From: swordshine Date: Fri, 27 Dec 2013 11:34:05 +0000 Subject: [PATCH] - Fixed DigEffect --- .../src/main/java/forge/game/ability/effects/DigEffect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/src/main/java/forge/game/ability/effects/DigEffect.java b/forge-gui/src/main/java/forge/game/ability/effects/DigEffect.java index 999cbf27f99..76524d008d7 100644 --- a/forge-gui/src/main/java/forge/game/ability/effects/DigEffect.java +++ b/forge-gui/src/main/java/forge/game/ability/effects/DigEffect.java @@ -52,7 +52,7 @@ public class DigEffect extends SpellAbilityEffect { Player choser = player; int numToDig = AbilityUtils.calculateAmount(host, sa.getParam("DigNum"), sa); - final ZoneType srcZone = sa.hasParam("SourceZone") ? ZoneType.smartValueOf(sa.getParam("DestinationZone")) : ZoneType.Library; + final ZoneType srcZone = sa.hasParam("SourceZone") ? ZoneType.smartValueOf(sa.getParam("SourceZone")) : ZoneType.Library; final ZoneType destZone1 = sa.hasParam("DestinationZone") ? ZoneType.smartValueOf(sa.getParam("DestinationZone")) : ZoneType.Hand; final ZoneType destZone2 = sa.hasParam("DestinationZone2") ? ZoneType.smartValueOf(sa.getParam("DestinationZone2")) : ZoneType.Library;