ソースを参照

Another bug fix

Julian 17 年 前
コミット
60df5c6f6d

+ 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