Fix ConfigUpdater
Dieser Commit ist enthalten in:
Ursprung
437229c867
Commit
43bb175d19
@ -68,6 +68,10 @@ public class ConfigUpdater implements Listener {
|
|||||||
Bukkit.getLogger().log(Level.SEVERE, "Version Tag was the same after conversion");
|
Bukkit.getLogger().log(Level.SEVERE, "Version Tag was the same after conversion");
|
||||||
return ConfigCreator.createDefaultConfig();
|
return ConfigCreator.createDefaultConfig();
|
||||||
}
|
}
|
||||||
|
if (newVersion < version) {
|
||||||
|
Bukkit.getLogger().log(Level.SEVERE, "Version Tag was earlier after conversion");
|
||||||
|
return ConfigCreator.createDefaultConfig();
|
||||||
|
}
|
||||||
version = newVersion;
|
version = newVersion;
|
||||||
}
|
}
|
||||||
return yapionObject;
|
return yapionObject;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren