mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Sealed and Draft modes do not get a visual warning for AI-unplayable cards since those consist only of picks/received cards that did not go into the main deck but were left in the sideboard.
This commit is contained in:
@@ -153,8 +153,10 @@ public class GameNew {
|
||||
|
||||
if (rAICards.size() > 0) {
|
||||
String message = buildFourColumnList("AI deck contains the following cards that it can't play or may be buggy:", rAICards);
|
||||
if (GameType.Quest == game.getType()) {
|
||||
// log, but do not visually warn. quest decks are supposedly already vetted by the quest creator
|
||||
if (GameType.Quest == game.getType() || GameType.Sealed == game.getType() || GameType.Draft == game.getType()) {
|
||||
// log, but do not visually warn. quest decks are supposedly already vetted by the quest creator,
|
||||
// sealed and draft decks do not get any AI-unplayable picks but may contain several
|
||||
// received/picked but unplayable cards in the sideboard.
|
||||
System.err.println(message);
|
||||
} else {
|
||||
JOptionPane.showMessageDialog(null, message, "", JOptionPane.INFORMATION_MESSAGE);
|
||||
|
||||
Reference in New Issue
Block a user