Browse Source

Effects.cfg parser

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

2
src/engine/ConfigParsing/EffectsParser.java

@ -19,7 +19,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
public class EffectsParser { public class EffectsParser {
public static String EffectsPath = ConfigManager.DEFAULT_DATA_DIR + "/Effects.cfg"; public static String EffectsPath = ConfigManager.DEFAULT_DATA_DIR + "Effects.cfg";
public static void init() throws IOException { public static void init() throws IOException {
ArrayList<ArrayList<String>> compiledData = new ArrayList<>(); ArrayList<ArrayList<String>> compiledData = new ArrayList<>();
String[] lines = readLines(EffectsPath); String[] lines = readLines(EffectsPath);

Loading…
Cancel
Save