Browse Source

Debug code removed

feature-config-usage
MagicBot 1 week ago
parent
commit
1ebc5d5e00
  1. 11
      src/engine/wpak/PowersParser.java

11
src/engine/wpak/PowersParser.java

@ -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

Loading…
Cancel
Save