mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fix broken condition for freeform commander (can be any creature or any Legendary card)
This commit is contained in:
parent
ae2787f119
commit
fe96a2de12
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class FreeformCommander extends Constructed {
|
|||
commanderNames.add(commander.getName());
|
||||
}
|
||||
for (Card commander : commanders) {
|
||||
if (!commander.isCreature() || !commander.isLegendary()) {
|
||||
if (!(commander.isCreature() || commander.isLegendary())) {
|
||||
addError(DeckValidatorErrorType.PRIMARY, commander.getName(), "For Freeform Commander, the commander must be a creature or be legendary. Yours was: " + commander.getName(), true);
|
||||
valid = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue