Client null checks

This commit is contained in:
Treeku
2013-12-15 17:55:30 +00:00
parent d6fb78e658
commit 1508bbe37b
2 changed files with 7 additions and 1 deletions
+2
View File
@@ -562,6 +562,8 @@ public class SimulationService implements INetworkDispatch {
object.setClient(null);
PlayerObject ghost = (PlayerObject) object.getSlottedObject("ghost");
session.suspendWrite();
object.createTransaction(core.getCreatureODB().getEnvironment());
core.getCreatureODB().put(object, Long.class, CreatureObject.class, object.getTransaction());
object.getTransaction().commitSync();