Browse Source

More effectmod parser work.

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

8
src/engine/ConfigParsing/EffectsParser.java

@ -117,6 +117,9 @@ public class EffectsParser { @@ -117,6 +117,9 @@ public class EffectsParser {
String[] modEntries = modData.trim().split("\n");
try {
for (String modEntry : modEntries) {
ArrayList<String> modValues = new ArrayList<>();
@ -182,8 +185,11 @@ public class EffectsParser { @@ -182,8 +185,11 @@ public class EffectsParser {
Logger.error("Unhandled type: " + effectModifier.type);
break;
}
}
} catch (Exception e) {
Logger.error(e);
}
return effectModifier;
}

Loading…
Cancel
Save