Browse Source

More effectmod parser work.

feature-config-parsing2
MagicBot 5 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 {
String[] modEntries = modData.trim().split("\n"); String[] modEntries = modData.trim().split("\n");
try {
for (String modEntry : modEntries) { for (String modEntry : modEntries) {
ArrayList<String> modValues = new ArrayList<>(); ArrayList<String> modValues = new ArrayList<>();
@ -182,8 +185,11 @@ public class EffectsParser {
Logger.error("Unhandled type: " + effectModifier.type); Logger.error("Unhandled type: " + effectModifier.type);
break; break;
} }
} }
} catch (Exception e) {
Logger.error(e);
}
return effectModifier; return effectModifier;
} }

Loading…
Cancel
Save