diff --git a/app/Jobs/Commands/MoonRental/UpdateAllianceMoonRentalWorth.php b/app/Jobs/Commands/MoonRental/UpdateAllianceMoonRentalWorth.php index 5d5b095fd..957db5a86 100644 --- a/app/Jobs/Commands/MoonRental/UpdateAllianceMoonRentalWorth.php +++ b/app/Jobs/Commands/MoonRental/UpdateAllianceMoonRentalWorth.php @@ -55,7 +55,7 @@ class UpdateAllianceMoonRentalWorth implements ShouldQueue $ores = AllianceMoonOre::where([ 'moon_id' => $moon->moon_id, - ])->get(['ore_id', 'quantity'])->toArray(); + ])->get(['ore_name', 'quantity'])->toArray(); //one of these two ways will work $worth = $mHelper->MoonTotalWorth($ores[0][0], $ores[0][1], $ores[1][0], $ores[1][1], $ores[2][0], $ores[2][1], $ores[3][0], $ores[3][1]);