Browse Source

Effects.cfg parser

feature-config-parsing
FatBoy-DOTC 4 months ago
parent
commit
419ce3f49c
  1. 6
      src/engine/ConfigParsing/EffectsParser.java

6
src/engine/ConfigParsing/EffectsParser.java

@ -43,10 +43,8 @@ public class EffectsParser {
} }
public static String[] readLines(String filename) throws IOException { public static String[] readLines(String filename) throws IOException {
File effectsCfg = new File(EffectsPath); File effectsCfg = new File(EffectsPath);
for(String line : effectsCfg.list()){ File absolute = new File(effectsCfg.getAbsolutePath());
int i = 0; return absolute.list();
}
return effectsCfg.list();
//FileReader fileReader = new FileReader(filename); //FileReader fileReader = new FileReader(filename);

Loading…
Cancel
Save