SteamWar/BauSystem2.0
Archiviert
12
0

Fix ConfigUpdater

Dieser Commit ist enthalten in:
yoyosource 2021-04-30 17:00:43 +02:00
Ursprung 437229c867
Commit 43bb175d19

Datei anzeigen

@ -68,6 +68,10 @@ public class ConfigUpdater implements Listener {
Bukkit.getLogger().log(Level.SEVERE, "Version Tag was the same after conversion");
return ConfigCreator.createDefaultConfig();
}
if (newVersion < version) {
Bukkit.getLogger().log(Level.SEVERE, "Version Tag was earlier after conversion");
return ConfigCreator.createDefaultConfig();
}
version = newVersion;
}
return yapionObject;