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

Loading…
Cancel
Save