From 419ce3f49ca22a61de1b2a7639d83a0b7213c90a Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 23 Jul 2024 20:56:25 -0500 Subject: [PATCH] Effects.cfg parser --- src/engine/ConfigParsing/EffectsParser.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 402535e2..1add0caf 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -43,10 +43,8 @@ public class EffectsParser { } public static String[] readLines(String filename) throws IOException { File effectsCfg = new File(EffectsPath); - for(String line : effectsCfg.list()){ - int i = 0; - } - return effectsCfg.list(); + File absolute = new File(effectsCfg.getAbsolutePath()); + return absolute.list(); //FileReader fileReader = new FileReader(filename);