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);