mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
TableController.java: change warning message when match == null to avoid nullpointer exception
This commit is contained in:
parent
21c80a3caa
commit
672b78982f
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,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() + " , table : " + table.getId());
|
||||
logger.warn("-- match: null , 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…
Reference in a new issue