mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Prevent arbitrary library search triggers from Jace ultimate
This commit is contained in:
parent
bf4988382e
commit
b67107b1b5
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ class JaceArchitectOfThoughtEffect3 extends OneShotEffect {
|
|||
playerName = "your";
|
||||
}
|
||||
TargetCardInLibrary target = new TargetCardInLibrary(new FilterNonlandCard(new StringBuilder("nonland card from ").append(playerName).append(" library").toString()));
|
||||
if (controller.searchLibrary(target, game, playerId)) {
|
||||
if (controller.searchLibrary(target, game, playerId, !checkList.contains(playerId))) {
|
||||
checkList.add(playerId);
|
||||
UUID targetId = target.getFirstTarget();
|
||||
Card card = player.getLibrary().remove(targetId, game);
|
||||
|
|
Loading…
Reference in a new issue