Browse Source

Effects.cfg parser

feature-config-parsing
FatBoy-DOTC 4 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 { @@ -42,9 +42,8 @@ public class EffectsParser {
CreateBlocks(compiledData);
}
public static String[] readLines(String filename) throws IOException {
File effectsCfg = new File(EffectsPath);
File absolute = new File(effectsCfg.getAbsolutePath());
return absolute.list();
File effectsCfg = new File("/home/mbdev/mb_dev/mb.data/Effects.cfg");
return effectsCfg.list();
//FileReader fileReader = new FileReader(filename);

Loading…
Cancel
Save