remove useless method call (#5912)

sector.hasBase() already checks that save != null
This commit is contained in:
buthed010203
2021-09-04 10:14:04 -04:00
committed by GitHub
parent d31389efca
commit 2dffd525a3

View File

@@ -60,7 +60,7 @@ public class ResearchDialog extends BaseDialog{
//add global counts of each sector
for(Planet planet : content.planets()){
for(Sector sector : planet.sectors){
if(sector.hasSave() && sector.hasBase()){
if(sector.hasBase()){
ItemSeq cached = sector.items();
cache.put(sector, cached);
cached.each((item, amount) -> {