diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 0ccbb42f..2104bbae 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -82,7 +82,7 @@ public class EffectsParser { for(String line : lines) { if (line.contains("SOURCEBEGIN")) { - data.sources.add(lines.get(index).replace(" ", "")); + data.sources.add(lines.get(index + 1).replace(" ", "")); } index++; }