nBd il y a 16 ans
Parent
commit
38fafbc162

+ 4 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java

@@ -4340,9 +4340,12 @@ public abstract class L2Character extends L2Object
 			return false;
 		}
 
+		if (_move == null)
+			return false;
+		
 		// Create and Init a MoveData object
 		MoveData m = new MoveData();
-
+		
 		// Update MoveData object
     	m.onGeodataPathIndex = _move.onGeodataPathIndex + 1; // next segment
     	m.geoPath = _move.geoPath;