mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed getMostProminentColors.
This commit is contained in:
@@ -1895,6 +1895,9 @@ public class CardFactoryUtil {
|
||||
public static byte getMostProminentColors(final List<Card> list) {
|
||||
int cntColors = MagicColor.WUBRG.length;
|
||||
final Integer[] map = new Integer[cntColors];
|
||||
for(int i = 0; i < cntColors; i++) {
|
||||
map[i] = 0;
|
||||
}
|
||||
|
||||
for (final Card crd : list) {
|
||||
ColorSet color = CardUtil.getColors(crd);
|
||||
|
||||
Reference in New Issue
Block a user