mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Minor shuffle fix
This commit is contained in:
parent
297b543630
commit
57fdae9c92
1 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue