From 2eb7f3cf9d3860c8cf78490395128a37912f2d01 Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Fri, 23 Feb 2024 23:06:58 +0400 Subject: [PATCH] Fix wrong config version --- .../redisbungee/api/config/loaders/LangConfigLoader.java | 2 +- RedisBungee-API/src/main/resources/config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/config/loaders/LangConfigLoader.java b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/config/loaders/LangConfigLoader.java index ad30c42..cc698f5 100644 --- a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/config/loaders/LangConfigLoader.java +++ b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/config/loaders/LangConfigLoader.java @@ -23,7 +23,7 @@ import java.util.Locale; public interface LangConfigLoader extends GenericConfigLoader { - int CONFIG_VERSION = 1; + int CONFIG_VERSION = 2; default void loadLangConfig(RedisBungeePlugin plugin, Path dataFolder) throws IOException { Path configFile = createConfigFile(dataFolder, "lang.yml", "lang.yml"); diff --git a/RedisBungee-API/src/main/resources/config.yml b/RedisBungee-API/src/main/resources/config.yml index 7b1e204..628f6be 100644 --- a/RedisBungee-API/src/main/resources/config.yml +++ b/RedisBungee-API/src/main/resources/config.yml @@ -77,4 +77,4 @@ exempt-ip-addresses: [] reconnect-to-last-server: false # Config version DO NOT CHANGE!!!! -config-version: 3 +config-version: 2