mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Player Human: fix chooseSingleEntityForEffect
This commit is contained in:
@@ -465,7 +465,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
gameCacheChoose.getTrackableKeys(), delayedReveal, isOptional);
|
||||
endTempShowCards();
|
||||
|
||||
if (result != null || !gameCacheChoose.containsKey(result)) {
|
||||
if (result == null || !gameCacheChoose.containsKey(result)) {
|
||||
return null;
|
||||
}
|
||||
return gameCacheChoose.get(result);
|
||||
@@ -3014,7 +3014,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
}
|
||||
|
||||
public Card getCard(final CardView cardView) {
|
||||
return getGame().findById(cardView.getId());
|
||||
return getGame().findByView(cardView);
|
||||
}
|
||||
|
||||
public CardCollection getCardList(Iterable<CardView> cardViews) {
|
||||
|
||||
Reference in New Issue
Block a user