Make config version a double

This commit is contained in:
Ryder Belserion 2023-02-18 21:49:16 -05:00
parent c09adc5991
commit 03aae70fee
No known key found for this signature in database
GPG Key ID: 8FC2E6C54BBF05FE
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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.
config-version: 1.0 # DO NOT TOUCH THIS: We use this to identify if configs are outdated.