|
|
@ -153,13 +153,7 @@ public class PowersParser { |
|
|
|
ActionEntry actionEntry; |
|
|
|
ActionEntry actionEntry; |
|
|
|
List<String> arguments; |
|
|
|
List<String> arguments; |
|
|
|
Matcher argumentMatcher; |
|
|
|
Matcher argumentMatcher; |
|
|
|
int blah = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (power.focusLine.equalsIgnoreCase("none")) |
|
|
|
|
|
|
|
blah = 1; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String loggerString = "PARSING: " + power.focusLine + " KEY: " + key; |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
switch (key) { |
|
|
|
switch (key) { |
|
|
|
case "ACTION": |
|
|
|
case "ACTION": |
|
|
|
actionEntry = new ActionEntry(); |
|
|
|
actionEntry = new ActionEntry(); |
|
|
@ -301,10 +295,7 @@ public class PowersParser { |
|
|
|
default: |
|
|
|
default: |
|
|
|
Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id); |
|
|
|
Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id); |
|
|
|
} |
|
|
|
} |
|
|
|
}catch(Exception e){ |
|
|
|
Logger.error("POWER" + powerEntry.power_id); |
|
|
|
Logger.error(loggerString + " ERROR: " + e); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
Logger.error("POWER PARSE COMPLETED"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Parse power conditions
|
|
|
|
// Parse power conditions
|
|
|
|