mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Merge fix
This commit is contained in:
parent
ac8d3de474
commit
9698e3488f
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public abstract class GameTinyLeadersImpl extends GameImpl {
|
||||||
watcher.addCardInfoToCommander(this);
|
watcher.addCardInfoToCommander(this);
|
||||||
this.getState().addAbility(ability, null);
|
this.getState().addAbility(ability, null);
|
||||||
} else {
|
} else {
|
||||||
// TODO: can't see that error in game logs at all, wtf? See GameWorker.call
|
// GameWorker.call processing errors and write it in magediag.log by defalt
|
||||||
// Test use case: create tiny game with random generated deck - game freezes with empty battlefield
|
// Test use case: create tiny game with random generated deck - game freezes with empty battlefield
|
||||||
throw new IllegalStateException("Commander card could not be created. Name: [" + player.getMatchPlayer().getDeck().getName() + ']');
|
throw new IllegalStateException("Commander card could not be created. Name: [" + player.getMatchPlayer().getDeck().getName() + ']');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue