|  |  | @ -378,7 +378,10 @@ public class MobileFSM { | 
			
		
	
		
		
			
				
					
					|  |  |  |             rwss.setPlayer(mob); |  |  |  |             rwss.setPlayer(mob); | 
			
		
	
		
		
			
				
					
					|  |  |  |             DispatchMessage.sendToAllInRange(mob, rwss); |  |  |  |             DispatchMessage.sendToAllInRange(mob, rwss); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         mob.updateLocation(); |  |  |  |         //mob.updateLocation();
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if(mob.isMoving() == true){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             mob.setLoc(mob.getMovementLoc()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(mob.BehaviourType.ordinal() != Enum.MobBehaviourType.Pet1.ordinal()) { |  |  |  |         if(mob.BehaviourType.ordinal() != Enum.MobBehaviourType.Pet1.ordinal()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             CheckToSendMobHome(mob); |  |  |  |             CheckToSendMobHome(mob); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -511,7 +514,6 @@ public class MobileFSM { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (System.currentTimeMillis() > aiAgent.deathTime + MBServerStatics.DESPAWN_TIMER_WITH_LOOT) { |  |  |  |                 if (System.currentTimeMillis() > aiAgent.deathTime + MBServerStatics.DESPAWN_TIMER_WITH_LOOT) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     aiAgent.despawn(); |  |  |  |                     aiAgent.despawn(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     aiAgent.deathTime = System.currentTimeMillis(); |  |  |  |                     aiAgent.deathTime = System.currentTimeMillis(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     return; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 //No items in inventory.
 |  |  |  |                 //No items in inventory.
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else { |  |  |  |             } else { | 
			
		
	
	
		
		
			
				
					|  |  | @ -520,20 +522,17 @@ public class MobileFSM { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     if (System.currentTimeMillis() > aiAgent.deathTime + MBServerStatics.DESPAWN_TIMER_ONCE_LOOTED) { |  |  |  |                     if (System.currentTimeMillis() > aiAgent.deathTime + MBServerStatics.DESPAWN_TIMER_ONCE_LOOTED) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         aiAgent.despawn(); |  |  |  |                         aiAgent.despawn(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         aiAgent.deathTime = System.currentTimeMillis(); |  |  |  |                         aiAgent.deathTime = System.currentTimeMillis(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         return; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |                     //Mob never had Loot.
 |  |  |  |                     //Mob never had Loot.
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } else { |  |  |  |                 } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     if (System.currentTimeMillis() > aiAgent.deathTime + MBServerStatics.DESPAWN_TIMER) { |  |  |  |                     if (System.currentTimeMillis() > aiAgent.deathTime + MBServerStatics.DESPAWN_TIMER) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         aiAgent.despawn(); |  |  |  |                         aiAgent.despawn(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         aiAgent.deathTime = System.currentTimeMillis(); |  |  |  |                         aiAgent.deathTime = System.currentTimeMillis(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         return; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnTime * 1000))) { |  |  |  |         } else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnTime * 1000))) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             aiAgent.respawn(); |  |  |  |             aiAgent.respawn(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             return; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |