protected void containerItemSwappingLogic(){
		//put stack from one inventory to another
		if(secondairyInventory != null)
			if(KeyHandler.isValidationKeyPressed())
				if(isNotPlayerInventory() && secondairyInventory != null){
					System.out.println(slot_index);
					if(secondairyInventory.getStackInSlot(slot_index) != null)
						if(playerInventory.setStackInNextAvailableSlot(secondairyInventory.getStackInSlot(slot_index)))
							secondairyInventory.setStackInSlot(slot_index, null);
				}else{
					int slot = slotIndex[0]+ (slotIndex[1]*(rowsX()));
					System.out.println(slot);
					if(playerInventory.getStackInSlot(slot) != null)
						if(secondairyInventory.setStackInNextAvailableSlot(playerInventory.getStackInSlot(slot)))
							playerInventory.setStackInSlot(slot, null);
				}
	}