- Fixed AI double shuffling when searching with certain cards.

This commit is contained in:
Sloth
2013-05-25 16:16:42 +00:00
parent 1644134a5f
commit 9bebcf4a3b

View File

@@ -1338,8 +1338,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
} }
} }
if ((origin.contains(ZoneType.Library) && !destination.equals(ZoneType.Library) && !defined) if ("True".equals(sa.getParam("Shuffle"))) {
|| (sa.hasParam("Shuffle") && "True".equals(sa.getParam("Shuffle")))) {
player.shuffle(); player.shuffle();
} }