mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	fix crash in gm command thing, commit stupid shit i havent figured out yet
This commit is contained in:
		| @@ -116,8 +116,16 @@ namespace FFXIVClassic_Map_Server.Actors | ||||
|             // leash back to spawn | ||||
|             if (!IsCloseToSpawn()) | ||||
|             { | ||||
|                 isMovingToSpawn = true; | ||||
|                 aiContainer.Reset(); | ||||
|                 if (!isMovingToSpawn) | ||||
|                 { | ||||
|                     aiContainer.Reset(); | ||||
|                     isMovingToSpawn = true; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     if (target == null && !aiContainer.pathFind.IsFollowingPath()) | ||||
|                         aiContainer.pathFind.PathInRange(spawnX, spawnY, spawnZ, 1.0f, 15.0f); | ||||
|                 } | ||||
|             } | ||||
|             else | ||||
|             { | ||||
| @@ -135,9 +143,6 @@ namespace FFXIVClassic_Map_Server.Actors | ||||
|                         hateContainer.AddBaseHate(player); | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             if (target == null) | ||||
|                 aiContainer.pathFind.PathInRange(spawnX, spawnY, spawnZ, 1.0f, 35.0f); | ||||
|         } | ||||
|  | ||||
|         public uint GetDespawnTime() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user