|  |  |  | @ -78,7 +78,7 @@ public class MobAi2 {@@ -78,7 +78,7 @@ public class MobAi2 { | 
			
		
	
		
			
				
					|  |  |  |  |         if (!mob.despawned) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             //if the inventory is empty, the mob can disappear
 | 
			
		
	
		
			
				
					|  |  |  |  |             if(mob.getInventory(true).isEmpty()) { | 
			
		
	
		
			
				
					|  |  |  |  |             if(mob.getInventory(true).isEmpty() && System.currentTimeMillis() > mob.deathTime + 10000L) { | 
			
		
	
		
			
				
					|  |  |  |  |                 mob.despawn(); | 
			
		
	
		
			
				
					|  |  |  |  |                 mob.deathTime = System.currentTimeMillis(); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
	
		
			
				
					|  |  |  | @ -144,7 +144,10 @@ public class MobAi2 {@@ -144,7 +144,10 @@ public class MobAi2 { | 
			
		
	
		
			
				
					|  |  |  |  |             mob.setCombat(true); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (!CombatUtilities.inRangeToAttack(mob, target)) { | 
			
		
	
		
			
				
					|  |  |  |  |             if(mob.nextChaseUpdate < System.currentTimeMillis()) { | 
			
		
	
		
			
				
					|  |  |  |  |                 mob.nextChaseUpdate = System.currentTimeMillis() + 1500L; | 
			
		
	
		
			
				
					|  |  |  |  |                 MovementUtilities.aiMove(mob, target.loc, false); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             return; | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |