Browse Source

Debug code removed

feature-config-parsing2
MagicBot 4 months ago
parent
commit
ee0fc67984
  1. 5
      src/engine/wpak/PowerActionParser.java

5
src/engine/wpak/PowerActionParser.java

@ -62,7 +62,6 @@ public class PowerActionParser { @@ -62,7 +62,6 @@ public class PowerActionParser {
StatTransfer statTransfer;
TrackEntry trackEntry;
try {
// Remove all lines that contain a # and leading/trailing blank lines
powerActionData = powerActionData.replaceAll("(?m)^(\\s*#.*|\\s*)\r?\n?", "").trim();
@ -300,11 +299,7 @@ public class PowerActionParser { @@ -300,11 +299,7 @@ public class PowerActionParser {
default:
Logger.error("Unhandled variable type:" + key + " for powerAction: " + powerActionEntry.action_id);
}
}
} catch (Exception e) {
Logger.error(powerActionEntry.action_id + " " + e);
}
return powerActionEntry;
}
}

Loading…
Cancel
Save