Fixed ODB save error

This commit is contained in:
Light2
2014-03-28 20:02:54 +01:00
parent 9f859490f1
commit f0a61f030d
+3
View File
@@ -261,8 +261,11 @@ public class ConnectionService implements INetworkDispatch {
}*/
ghost.toggleFlag(PlayerFlags.LD);
object.setPerformanceListenee(null);
object.setPerformanceWatchee(null);
object.setAttachment("disconnectTask", null);
object.setAttachment("buffWorkshop", null);
object.createTransaction(core.getCreatureODB().getEnvironment());
core.getCreatureODB().put(object, Long.class, CreatureObject.class, object.getTransaction());
object.getTransaction().commitSync();