diff --git a/paper/src/main/java/com/badbones69/crazyauctions/configs/ConfigManager.java b/paper/src/main/java/com/badbones69/crazyauctions/configs/ConfigManager.java index 591795a..2a4c82e 100644 --- a/paper/src/main/java/com/badbones69/crazyauctions/configs/ConfigManager.java +++ b/paper/src/main/java/com/badbones69/crazyauctions/configs/ConfigManager.java @@ -43,14 +43,15 @@ public class ConfigManager { * Refreshes configuration files. */ public static void refresh() { - getCustomConfig("config-v2.yml").reload(); + getCustomConfig(Files.config.getFileName()).reload(); + getCustomConfig(Files.auctions.getFileName()).reload(); } /** * @return gets config-v2.yml */ public static SettingsManager getConfig() { - return getCustomConfig("config-v2.yml"); + return getCustomConfig(Files.config.getFileName()); } /**