🐛 Fix config fixer.

This commit is contained in:
LambdAurora
2020-01-02 00:43:10 +01:00
parent 647e03134f
commit 7c06afb4a4
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.7.2+build.174
# Mod Properties
mod_version = 1.1.0-test1
mod_version = 1.1.0-test2
maven_group = me.lambdaurora
archives_base_name = lambdacontrols

View File

@@ -98,7 +98,7 @@ public class LambdaControlsConfig
Object raw = this.config.getRaw(path);
if (raw instanceof Number) {
this.mod.warn("Invalid data at \"" + path + "\", fixing...");
this.config.set(path, "0;" + raw);
this.config.set(path, String.valueOf(raw));
}
});
}