This commit is contained in:
simon 2018-01-07 12:57:06 -05:00
parent ff9370fed5
commit cde03af8af

View File

@ -265,8 +265,11 @@ public class GameServer implements Runnable {
serverObj.put("nextObjectId", gameUniverse.getNextObjectId());
server.insert(serverObj);
mongo.close();
LogManager.LOGGER.info("Done!");
} catch (UnknownHostException e) {
} catch (Exception e) {
LogManager.LOGGER.severe("Problem happened during save function");
e.printStackTrace();
}
}