From 8b005f2ffd71eee22a6ae3ed312b666184b8e9cf Mon Sep 17 00:00:00 2001 From: jongmee Date: Fri, 16 Aug 2024 14:48:22 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20=ED=8C=8C=EC=9D=BC=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=A0=88=EB=8C=80=20=EA=B2=BD=EB=A1=9C=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/pokerogue/helper/battle/DataInitializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pokerogue/src/main/java/com/pokerogue/helper/battle/DataInitializer.java b/backend/pokerogue/src/main/java/com/pokerogue/helper/battle/DataInitializer.java index a1c8bf2c3..0d6ad4396 100644 --- a/backend/pokerogue/src/main/java/com/pokerogue/helper/battle/DataInitializer.java +++ b/backend/pokerogue/src/main/java/com/pokerogue/helper/battle/DataInitializer.java @@ -24,7 +24,7 @@ public class DataInitializer implements ApplicationRunner { @Override public void run(ApplicationArguments args) { - String weatherFilePath = "src/main/java/com/pokerogue/helper/battle/data/weather.txt"; + String weatherFilePath = System.getProperty("user.dir") + "/" + "src/main/java/com/pokerogue/helper/battle/data/weather.txt"; try (BufferedReader br = new BufferedReader(new FileReader(weatherFilePath))) { int lineCount = 0; String line;