forked from External/mage
fixed some NPEs
This commit is contained in:
parent
d85bd073c7
commit
5023d13525
3 changed files with 7 additions and 4 deletions
|
|
@ -219,7 +219,7 @@ public class TableManager {
|
|||
controllers.remove(tableId);
|
||||
tables.remove(tableId);
|
||||
GamesRoomManager.getInstance().removeTable(tableId);
|
||||
if (table.getMatch().getGame() != null)
|
||||
if (table.getMatch() != null && table.getMatch().getGame() != null)
|
||||
table.getMatch().getGame().end();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue