fix check if existing config is older

This commit is contained in:
BuildTools 2021-07-15 22:54:05 +02:00
parent 610cb93433
commit 174e8832a8

View File

@ -46,7 +46,7 @@ public class EggCatcher extends JavaPlugin {
public void CheckConfigurationFile() {
double configVersion = this.getConfig().getDouble("ConfigVersion", 0.0);
if (configVersion > 6.0) {
if (configVersion < 6.0) {
MigrateConfigFile();
}
if (configVersion == 6.0) {