Unfinished sector selection

This commit is contained in:
Anuken
2020-02-24 23:03:33 -05:00
parent 3211b5da01
commit 8b7f439ef5
7 changed files with 89 additions and 29 deletions

View File

@@ -77,7 +77,7 @@ public class SectorDataGenerator{
data.floors[i] = entries.get(i).key;
}
data.resources = content.asArray().sort(Structs.comps(Structs.comparing(Content::getContentType), Structs.comparingInt(c -> c.id))).toArray(Content.class);
data.resources = content.asArray().sort(Structs.comps(Structs.comparing(Content::getContentType), Structs.comparingInt(c -> c.id))).toArray(UnlockableContent.class);
if(count[0]++ % 10 == 0){
Log.info("&lyDone with sector &lm{0}/{1}", count[0], planet.sectors.size);