gui: fixed miss playable mark for emblems and other objects from command zone (example: momir emblem)

This commit is contained in:
Oleg Agafonov 2023-06-17 17:32:02 +04:00
parent 7a33ca812c
commit 94dfbdfed4
4 changed files with 39 additions and 11 deletions

View file

@ -59,7 +59,7 @@ public final class CardsViewUtil {
} else if (commandObject instanceof CommanderView) {
cardView = (CommanderView) commandObject;
} else {
continue;
throw new IllegalStateException("ERROR, unsupported commander object type: " + commandObject.getClass().getSimpleName());
}
cards.put(commandObject.getId(), cardView);
}