From ba012b36f8365527f6c8a5b4df2b5cd3bb7b415e Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Oct 2018 23:33:19 -0500 Subject: [PATCH] moon calc --- app/Library/MoonCalc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Library/MoonCalc.php b/app/Library/MoonCalc.php index ea10331c8..af57f2329 100644 --- a/app/Library/MoonCalc.php +++ b/app/Library/MoonCalc.php @@ -189,7 +189,7 @@ class MoonCalc { $thuliumPrice = DB::select('SELECT Price FROM Prices WHERE ItemId = ? AND Time = ?', [16653, $maxTime]); //Get the item compositions $items = DB::select('SELECT Name,ItemId FROM ItemComposition'); - dd($tritanium[0]->Price); + dd($tritaniumPrice[0]->Price); //Go through each of the items and update the price foreach($items as $item) { //Get the item composition