From 03aae70feebf03c8557ccf5a5e9bcbf721f2ea83 Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Sat, 18 Feb 2023 21:49:16 -0500 Subject: [PATCH] Make config version a double --- .../main/java/com/badbones69/crazyauctions/configs/Config.java | 2 +- platforms/spigot/src/main/resources/config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/spigot/src/main/java/com/badbones69/crazyauctions/configs/Config.java b/platforms/spigot/src/main/java/com/badbones69/crazyauctions/configs/Config.java index 4d970c5..7e33839 100644 --- a/platforms/spigot/src/main/java/com/badbones69/crazyauctions/configs/Config.java +++ b/platforms/spigot/src/main/java/com/badbones69/crazyauctions/configs/Config.java @@ -37,7 +37,7 @@ public class Config extends FileExtension { @Key("settings.config-version") @Comment("DO NOT TOUCH THIS: We use this to identify if your configs are outdated.") - public static int CONFIG_VERSION = 1; + public static double CONFIG_VERSION = 1.0; public Config() { super("config.yml"); diff --git a/platforms/spigot/src/main/resources/config.yml b/platforms/spigot/src/main/resources/config.yml index fe603cf..c1adee1 100644 --- a/platforms/spigot/src/main/resources/config.yml +++ b/platforms/spigot/src/main/resources/config.yml @@ -5,4 +5,4 @@ settings: update-checker: true # Whether you want to be notified when an update is published to Modrinth. toggle-metrics: true # Whether you want your server statistics to be sent to https://bstats.org/ ( Requires a restart! ) - config-version: 2 # DO NOT TOUCH THIS: We use this to identify if configs are outdated. \ No newline at end of file + config-version: 1.0 # DO NOT TOUCH THIS: We use this to identify if configs are outdated. \ No newline at end of file