Browse Source

Effect Modifier parsing work.

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

3
src/engine/ConfigParsing/EffectsParser.java

@ -124,9 +124,6 @@ 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