update alliance moon rental worth

This commit is contained in:
2021-06-22 20:59:50 +09:00
parent dbd30021f9
commit dda65951b3

View File

@@ -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]);