Explorar el Código

Another bug fix

Julian hace 17 años
padre
commit
60df5c6f6d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      L2_GameServer/java/net/sf/l2j/gameserver/model/L2Object.java

+ 2 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/L2Object.java

@@ -291,9 +291,10 @@ public abstract class L2Object
             getPosition().setWorldRegion(L2World.getInstance().getRegion(getPosition().getWorldPosition()));
 
             // Add the L2Object spawn in the _allobjects of L2World
-            L2World.getInstance().storeObject(this);
         }
 
+        L2World.getInstance().storeObject(this);
+
         // these can synchronize on others instancies, so they're out of
         // synchronized, to avoid deadlocks