From 30f9446933f30efff6d85dd0c8dbb74352754832 Mon Sep 17 00:00:00 2001 From: Velosh Date: Mon, 26 Apr 2021 11:48:55 -0300 Subject: [PATCH] Config: Fix configs.prop issue (https://github.com/TrebleExperience/Bot3/issues/6) --- src/main/java/com/vegazsdev/bobobot/utils/Config.java | 2 +- src/main/resources/strings/core-strings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/vegazsdev/bobobot/utils/Config.java b/src/main/java/com/vegazsdev/bobobot/utils/Config.java index 95f1225..07e5e20 100755 --- a/src/main/java/com/vegazsdev/bobobot/utils/Config.java +++ b/src/main/java/com/vegazsdev/bobobot/utils/Config.java @@ -17,7 +17,7 @@ public static String getDefConfig(String prop) { FileInputStream fileInputStream = null; try { Properties getProps = new Properties(); - fileInputStream = new FileInputStream("configs/config.prop"); + fileInputStream = new FileInputStream("configs/configs.prop"); getProps.load(fileInputStream); return getProps.getProperty(prop); } catch (Exception e) { diff --git a/src/main/resources/strings/core-strings.xml b/src/main/resources/strings/core-strings.xml index 5dd0131..42aced9 100755 --- a/src/main/resources/strings/core-strings.xml +++ b/src/main/resources/strings/core-strings.xml @@ -10,7 +10,7 @@ - config.prop + configs.prop ! / ; - * \ , .' en, br