Fixed a bunch of NPE and other possible exceptions.

This commit is contained in:
LevelX2 2015-04-20 23:37:28 +02:00
parent 38b72284da
commit c2fb2de67a
12 changed files with 65 additions and 18 deletions

View file

@ -558,7 +558,6 @@ public class TableController {
if (!match.getPlayer(entry.getValue()).hasQuit()) {
User user = UserManager.getInstance().getUser(entry.getKey());
if (user != null) {
Player player = match.getPlayer(entry.getValue()).getPlayer();
user.ccGameStarted(match.getGame().getId(), entry.getValue());
if (creator == null) {