[SNC] fixed NPE with Rocco, Cabaretti Caterer (fixes #8886)

This commit is contained in:
Evan Kranzler 2022-04-27 08:30:14 -04:00
parent 50bd1476ff
commit 913f88d573

View file

@ -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();