remove useless method call (#5912)
sector.hasBase() already checks that save != null
This commit is contained in:
@@ -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) -> {
|
||||
|
||||
Reference in New Issue
Block a user