fix powerplay import on expansion failed
This commit is contained in:
@@ -75,8 +75,10 @@ public class PPParser {
|
|||||||
POWER_STATE state = getState(values[3]);
|
POWER_STATE state = getState(values[3]);
|
||||||
String upkeep = values[4];
|
String upkeep = values[4];
|
||||||
String income = values[6];
|
String income = values[6];
|
||||||
|
String status = values[12];
|
||||||
if (starSystemName == null || power == null || state == null) return;
|
if (starSystemName == null || power == null || state == null) return;
|
||||||
if (state.isControl()){
|
if (state.isControl()){
|
||||||
|
if ("FAIL".equals(status)) return;
|
||||||
Place place = market.get(starSystemName);
|
Place place = market.get(starSystemName);
|
||||||
if (place != null){
|
if (place != null){
|
||||||
if (upkeep != null){
|
if (upkeep != null){
|
||||||
|
|||||||
Reference in New Issue
Block a user