mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Prevent arbitrary shuffles from Jace ultimate
This commit is contained in:
parent
b67107b1b5
commit
9939af8968
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
package mage.cards.j;
|
package mage.cards.j;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -246,7 +247,7 @@ class JaceArchitectOfThoughtEffect3 extends OneShotEffect {
|
||||||
}
|
}
|
||||||
List<UUID> playerList = new ArrayList<>();
|
List<UUID> playerList = new ArrayList<>();
|
||||||
playerList.addAll(game.getState().getPlayersInRange(controller.getId(), game));
|
playerList.addAll(game.getState().getPlayersInRange(controller.getId(), game));
|
||||||
List<UUID> checkList = new ArrayList<>();
|
Set<UUID> checkList = new HashSet<>();
|
||||||
while (!playerList.isEmpty()) {
|
while (!playerList.isEmpty()) {
|
||||||
FilterPlayer filter = new FilterPlayer();
|
FilterPlayer filter = new FilterPlayer();
|
||||||
List<PlayerIdPredicate> playerPredicates = new ArrayList<>();
|
List<PlayerIdPredicate> playerPredicates = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in a new issue