forked from External/mage
[SNC] fixed NPE with Rocco, Cabaretti Caterer (fixes #8886)
This commit is contained in:
parent
50bd1476ff
commit
913f88d573
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,6 @@ import java.util.List;
|
|||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* Can be used with SearchLibrary only. User hasn't access to libs.
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -82,7 +81,7 @@ public class TargetCardInLibrary extends TargetCard {
|
|||
if (!player.canRespond()) {
|
||||
return chosen;
|
||||
}
|
||||
if (!player.chooseTarget(outcome, cardsId, this, null, game)) {
|
||||
if (!player.chooseTarget(outcome, cardsId, this, source, game)) {
|
||||
return chosen;
|
||||
}
|
||||
chosen = targets.size() >= getMinNumberOfTargets();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue