mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 18:46:43 +00:00
Fixes #113
This commit is contained in:
parent
ff9370fed5
commit
cde03af8af
@ -265,8 +265,11 @@ public class GameServer implements Runnable {
|
|||||||
serverObj.put("nextObjectId", gameUniverse.getNextObjectId());
|
serverObj.put("nextObjectId", gameUniverse.getNextObjectId());
|
||||||
server.insert(serverObj);
|
server.insert(serverObj);
|
||||||
|
|
||||||
|
mongo.close();
|
||||||
|
|
||||||
LogManager.LOGGER.info("Done!");
|
LogManager.LOGGER.info("Done!");
|
||||||
} catch (UnknownHostException e) {
|
} catch (Exception e) {
|
||||||
|
LogManager.LOGGER.severe("Problem happened during save function");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user