mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Fixed AI double shuffling when searching with certain cards.
This commit is contained in:
@@ -1338,8 +1338,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
||||
}
|
||||
}
|
||||
|
||||
if ((origin.contains(ZoneType.Library) && !destination.equals(ZoneType.Library) && !defined)
|
||||
|| (sa.hasParam("Shuffle") && "True".equals(sa.getParam("Shuffle")))) {
|
||||
if ("True".equals(sa.getParam("Shuffle"))) {
|
||||
player.shuffle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user