diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index dce62c15..bb260d82 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -134,18 +134,21 @@ public class EffectsParser { for (int i = 1; i < data.length; i++) if (!data[i].isEmpty()) { - if(i == 4){ + if (i == 5) + continue; + + if (i == 4) try { - if (!data[5].isEmpty()) { - inMod.values.add(data[i] + " " + data[5]); + String entry = ""; + for (int j = i; j < data.length; j ++){ + entry += data[j] + " "; } - } catch(Exception e){ + inMod.values.add(entry.trim()); + } catch (Exception e) { inMod.values.add(data[i]); } - } - else { + else inMod.values.add(data[i]); - } } } } \ No newline at end of file