|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|