fix to addObjectToInventory it nows called the correct method