Browse Source

Effects.cfg parser

feature-config-parsing
FatBoy-DOTC 5 months ago
parent
commit
1d56b138a5
  1. 5
      src/engine/ConfigParsing/EffectsParser.java

5
src/engine/ConfigParsing/EffectsParser.java

@ -42,9 +42,8 @@ public class EffectsParser {
CreateBlocks(compiledData); CreateBlocks(compiledData);
} }
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("/home/mbdev/mb_dev/mb.data/Effects.cfg");
File absolute = new File(effectsCfg.getAbsolutePath()); return effectsCfg.list();
return absolute.list();
//FileReader fileReader = new FileReader(filename); //FileReader fileReader = new FileReader(filename);

Loading…
Cancel
Save