forked from MagicBane/Server
Effects.cfg parser
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user