From 1d56b138a588e945687fc7a56cf7125311f1c1ff Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 23 Jul 2024 20:57:40 -0500 Subject: [PATCH] Effects.cfg parser --- src/engine/ConfigParsing/EffectsParser.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 1add0caf..162a5a50 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -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);