| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -17,7 +17,6 @@ import engine.gameManager.PowersManager; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import engine.powers.poweractions.AbstractPowerAction; | 
					 | 
					 | 
					 | 
					import engine.powers.poweractions.AbstractPowerAction; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.pmw.tinylog.Logger; | 
					 | 
					 | 
					 | 
					import org.pmw.tinylog.Logger; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import java.util.ArrayList; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import java.util.concurrent.atomic.AtomicInteger; | 
					 | 
					 | 
					 | 
					import java.util.concurrent.atomic.AtomicInteger; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					/** | 
					 | 
					 | 
					 | 
					/** | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -64,15 +63,15 @@ public final class MobLoot extends Item { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * @param quantity Quantity of the item | 
					 | 
					 | 
					 | 
					     * @param quantity Quantity of the item | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     */ | 
					 | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public MobLoot(AbstractCharacter mob, ItemBase ib, int quantity, boolean noSteal) { | 
					 | 
					 | 
					 | 
					    public MobLoot(AbstractCharacter mob, ItemBase ib, int quantity, boolean noSteal) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        super(ib, mob.getObjectUUID(), | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                OwnerType.Mob, (byte) 0, (byte) 0, (short) 0, | 
					 | 
					 | 
					 | 
					        super(ib.getUUID()); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                (short) 0, true, false, false, false, true, | 
					 | 
					 | 
					 | 
					        this.ownerType = OwnerType.Mob; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                false, (byte) 0, new ArrayList<>(), generateId()); | 
					 | 
					 | 
					 | 
					        this.ownerID = mob.getObjectUUID(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        this.objectUUID = generateId(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (quantity == 0 && ib.getType() == ItemType.RESOURCE) | 
					 | 
					 | 
					 | 
					        if (quantity == 0 && ib.getType() == ItemType.RESOURCE) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            quantity = 1; | 
					 | 
					 | 
					 | 
					            quantity = 1; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (quantity > 0) | 
					 | 
					 | 
					 | 
					        if (quantity > 0) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.setNumOfItems(quantity); | 
					 | 
					 | 
					 | 
					            this.setNumOfItems(quantity); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |