import moons

This commit is contained in:
2021-05-30 18:55:49 +09:00
parent 51da1dbbc3
commit 10c5a8c75c

View File

@@ -61,14 +61,6 @@ class ImportAllianceMoons extends Command
//Create the collection of lines for the input file.
$moons = new Collection;
if(!AllianceMoonOre::empty()) {
AllianceMoonOre::truncate();
}
if(!AllianceMoon::empty()) {
AllianceMoon::truncate();
}
//Create the file handler
$data = Storage::get('public/alliance_moons.txt');
//Split the string into separate arrays based on the line