Cloning works now, changed object list to hash map (significant performance increase)

This commit is contained in:
Light2
2013-09-21 19:02:35 +02:00
parent b676dffdec
commit c7bfc890bd
13 changed files with 145 additions and 59 deletions
+1 -3
View File
@@ -264,10 +264,8 @@ public class CharacterService implements INetworkDispatch {
object._add(weapon);
object.setWeaponId(weapon.getObjectID());
core.scriptService.callScript("scripts/", "demo", "CreateStartingCharacter", core, object);
core.scriptService.callScript("scripts/", "CreateStartingCharacter", "demo", core, object);
core.getCreatureODB().put(object, Long.class, CreatureObject.class, object.getTransaction());
// might not need to commit transaction but better safe than sorry
object.getTransaction().commitSync();