added models to mooncalc.php

This commit is contained in:
2018-10-25 22:51:59 -05:00
parent ff598c6897
commit 8ff601352b

View File

@@ -141,7 +141,7 @@ class MoonCalc {
private function UpdateItemPricing() {
//Get the configuration from the config table
$config = DB::table('Config')->get();
$config = DB::table('Config')->first();
//Calculate refine rate
$refineRate = $config->RefineRate / 100.00;
//Calculate the current time