Browse Source

Debug code removed

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

Loading…
Cancel
Save