Closed Ketroc closed 4 years ago
line58 of UnitTypeData is:
this.hasMinerals = (Boolean)((Optional)DataExtractor.tryGet(SC2APIProtocol.Data.UnitTypeData::getHasVespene, SC2APIProtocol.Data.UnitTypeData::hasHasMinerals).apply(sc2ApiUnitTypeData)).orElse(false);
probably just needs to be changed to getHasMinerals
line58 of UnitTypeData is:
this.hasMinerals = (Boolean)((Optional)DataExtractor.tryGet(SC2APIProtocol.Data.UnitTypeData::getHasVespene, SC2APIProtocol.Data.UnitTypeData::hasHasMinerals).apply(sc2ApiUnitTypeData)).orElse(false);
probably just needs to be changed to getHasMinerals