Browse Source

Effect Modifier parsing work.

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

2
src/engine/ConfigParsing/EffectsParser.java

@ -119,7 +119,7 @@ public class EffectsParser {
for (String modEntry : modEntries) { for (String modEntry : modEntries) {
ArrayList<String> modValues = new ArrayList<>(); ArrayList<String> modValues = new ArrayList<>();
Matcher matcher = STRSPLIT_REGEX.matcher(modEntry); Matcher matcher = STRSPLIT_REGEX.matcher(modEntry.trim());
while (matcher.find()) while (matcher.find())
modValues.add(matcher.group(1).trim()); modValues.add(matcher.group(1).trim());

Loading…
Cancel
Save