mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix so revealing a collection of cards doesn't display them all in one row
This commit is contained in:
@@ -561,7 +561,7 @@ public class PlayerControllerHuman extends PlayerController {
|
||||
String fm = MessageUtil.formatMessage(message, player, owner);
|
||||
if (!cards.isEmpty()) {
|
||||
tempShowCards(cards);
|
||||
SGuiChoose.reveal(fm, cards);
|
||||
SGuiChoose.reveal(fm, CardView.getCollection(cards));
|
||||
endTempShowCards();
|
||||
}
|
||||
else {
|
||||
@@ -733,7 +733,7 @@ public class PlayerControllerHuman extends PlayerController {
|
||||
};
|
||||
target.setMessage("Select %d card(s) to discard, unless you discard a " + uType + ".");
|
||||
target.showAndWait();
|
||||
return (CardCollectionView)target.getSelected();
|
||||
return new CardCollection(target.getSelected());
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
||||
Reference in New Issue
Block a user