Sfoglia il codice sorgente

cleaning my old zone error resulting in enter & exit zone when world region chances.

Sami 17 anni fa
parent
commit
8f5874502a

+ 0 - 2
L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/position/ObjectPosition.java

@@ -165,8 +165,6 @@ public class ObjectPosition
     public final L2WorldRegion getWorldRegion() { return _worldRegion; }
     public final void setWorldRegion(L2WorldRegion value)
     {
-    	if(_worldRegion != null && getActiveObject() instanceof L2Character) // remove from old region zones
-    		_worldRegion.removeFromZones((L2Character)getActiveObject());
     	_worldRegion = value;
     }
 }