mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- CheckStyle.
This commit is contained in:
@@ -631,8 +631,9 @@ public final class CardUtil {
|
||||
final Card src) {
|
||||
List<Card> res = new ArrayList<Card>();
|
||||
if (to != ZoneType.Stack) {
|
||||
for (Player p : Singletons.getModel().getGame().getPlayers())
|
||||
for (Player p : Singletons.getModel().getGame().getPlayers()) {
|
||||
res.addAll(p.getZone(to).getCardsAddedThisTurn(from));
|
||||
}
|
||||
} else {
|
||||
res.addAll(Singletons.getModel().getGame().getStackZone().getCardsAddedThisTurn(from));
|
||||
}
|
||||
@@ -893,7 +894,6 @@ public final class CardUtil {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
private static List<String> getColorsOfCards(final int maxChoices, final List<Card> cards, final List<String> colors) {
|
||||
for (final Card card : cards) {
|
||||
// For each card, go through all the colors and if the card is that
|
||||
|
||||
Reference in New Issue
Block a user