Browse Source

Effect Modifier parsing work.

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

3
src/engine/ConfigParsing/EffectsParser.java

@ -124,6 +124,9 @@ public class EffectsParser {
while (matcher.find()) while (matcher.find())
modValues.add(matcher.group(1).trim()); modValues.add(matcher.group(1).trim());
if (modValues.get(0).trim().isEmpty())
Logger.error(modEntries);
effectModifier.type = mbEnums.ModType.valueOf(modValues.get(0).trim()); effectModifier.type = mbEnums.ModType.valueOf(modValues.get(0).trim());
switch (effectModifier.type) { switch (effectModifier.type) {

Loading…
Cancel
Save