From 085f2816a9afd402a0c66a21fa0c42c6909da06a Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 23 Jul 2024 21:09:01 -0500 Subject: [PATCH] Effects.cfg parser --- src/engine/ConfigParsing/EffectsParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; }