mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* TableController - Removed unneccessary warinings.
This commit is contained in:
parent
3da3d1c875
commit
2b18ed76cb
1 changed files with 4 additions and 1 deletions
|
@ -183,7 +183,10 @@ public class TableController {
|
|||
}
|
||||
Deck deck = Deck.load(deckList, false, false);
|
||||
if (!Main.isTestMode() && !table.getValidator().validate(deck)) {
|
||||
throw new InvalidDeckException(name + " has an invalid deck for this format", table.getValidator().getInvalid());
|
||||
table.getValidator().getName();
|
||||
throw new InvalidDeckException(
|
||||
new StringBuilder(name).append(" has an invalid deck for the ").append(table.getValidator().getName()).append(" Format").toString(),
|
||||
table.getValidator().getInvalid());
|
||||
}
|
||||
|
||||
Player player = createPlayer(name, seat.getPlayerType(), skill);
|
||||
|
|
Loading…
Reference in a new issue