Correct Z of monsters.
This commit is contained in:
		| @@ -408,7 +408,7 @@ public class Spawn extends Location implements IIdentifiable, INamable | ||||
| 		} | ||||
| 		 | ||||
| 		// Correct Z of monsters. | ||||
| 		if (!npc.isFlying() && (water == null)) | ||||
| 		if (npc.isMonster() && !npc.isFlying() && (water == null)) | ||||
| 		{ | ||||
| 			// Do not correct Z distances greater than 300. | ||||
| 			final int geoZ = GeoEngine.getInstance().getHeight(newlocx, newlocy, newlocz); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment