This commit is contained in:
2020-04-02 03:06:08 -05:00
parent e5bf5692c1
commit 05691f0d2d
+2 -2
View File
@@ -162,8 +162,8 @@ class MoonUpdateSeeder extends Seeder
'FourthOre' => $line[9],
'FourthQuantity' => $line[10],
]);
} else { //If the moon is found then update it.
AllianceMoon::where([
} else if($count > 0) { //If the moon is found then update it.
Moon::where([
'System' => $line[0],
'Planet' => $line[1],
'Moon' => $line[2],