From 57fdae9c9235ce115e8b5d37fec99a82e892890d Mon Sep 17 00:00:00 2001 From: L_J Date: Thu, 4 Oct 2018 22:43:23 +0000 Subject: [PATCH] Minor shuffle fix --- Mage.Sets/src/mage/cards/j/JaceArchitectOfThought.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/cards/j/JaceArchitectOfThought.java b/Mage.Sets/src/mage/cards/j/JaceArchitectOfThought.java index e6c207f4d5..770ae965aa 100644 --- a/Mage.Sets/src/mage/cards/j/JaceArchitectOfThought.java +++ b/Mage.Sets/src/mage/cards/j/JaceArchitectOfThought.java @@ -273,9 +273,6 @@ class JaceArchitectOfThoughtEffect3 extends OneShotEffect { playerList.remove(playerId); } } - if (!checkList.contains(playerId)) { - player.shuffleLibrary(source, game); // only one shuffle per library (to prevent bad interactions with Psychogenic Probe etc.) - } } checkList.add(playerId); } else { @@ -288,7 +285,12 @@ class JaceArchitectOfThoughtEffect3 extends OneShotEffect { } } } - + for (UUID playerId : checkList) { + Player player = game.getPlayer(playerId); + if (player != null) { + player.shuffleLibrary(source, game); + } + } ExileZone jaceExileZone = game.getExile().getExileZone(CardUtil.getCardExileZoneId(game, source)); if (jaceExileZone == null) { return true;