forked from External/mage
clean up some null checks
This commit is contained in:
parent
188a09b8fb
commit
7b4acbe386
3 changed files with 6 additions and 11 deletions
|
|
@ -942,7 +942,7 @@ public class TableController {
|
|||
if (!(table.getState() == TableState.WAITING || table.getState() == TableState.STARTING || table.getState() == TableState.READY_TO_START)) {
|
||||
if (match == null) {
|
||||
logger.warn("- Match table with no match:");
|
||||
logger.warn("-- matchId:" + match.getId() + " [" + match.getName() + ']');
|
||||
logger.warn("-- matchId:" + match.getId() + " , table : " + table.getId());
|
||||
// return false;
|
||||
} else if (match.isDoneSideboarding() && match.getGame() == null) {
|
||||
// no sideboarding and not active game -> match seems to hang (maybe the Draw bug)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue