Browse Source

Comment update

feature-config-parsing2
MagicBot 3 months ago
parent
commit
b7089e88d3
  1. 2
      src/engine/ConfigParsing/EffectsParser.java

2
src/engine/ConfigParsing/EffectsParser.java

@ -49,7 +49,7 @@ public class EffectsParser {
private static EffectEntry parseEffectEntry(String effectData) { private static EffectEntry parseEffectEntry(String effectData) {
EffectEntry effectEntry = new EffectEntry(); EffectEntry effectEntry = new EffectEntry();
// Remove all lines that contain a # and leading/trailing blanks // Remove all lines that contain a # and leading/trailing blank lines
effectData = effectData.replaceAll("(?m)^.*#.*\r?\n?", ""); effectData = effectData.replaceAll("(?m)^.*#.*\r?\n?", "");
effectData = effectData.trim(); effectData = effectData.trim();

Loading…
Cancel
Save