mirror of
https://github.com/shansen/EggCatcher.git
synced 2025-02-28 07:51:43 +01:00
fix check if existing config is older
This commit is contained in:
parent
610cb93433
commit
174e8832a8
@ -46,7 +46,7 @@ public class EggCatcher extends JavaPlugin {
|
|||||||
|
|
||||||
public void CheckConfigurationFile() {
|
public void CheckConfigurationFile() {
|
||||||
double configVersion = this.getConfig().getDouble("ConfigVersion", 0.0);
|
double configVersion = this.getConfig().getDouble("ConfigVersion", 0.0);
|
||||||
if (configVersion > 6.0) {
|
if (configVersion < 6.0) {
|
||||||
MigrateConfigFile();
|
MigrateConfigFile();
|
||||||
}
|
}
|
||||||
if (configVersion == 6.0) {
|
if (configVersion == 6.0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user