Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Fix broken version check for config
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre601 committed Jun 11, 2023
1 parent eb44557 commit aad10a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,6 @@ public boolean getBoolean(Object... path){
}

public boolean isOldConfig(){
return node.node("config-version").virtual() || node.node("config-version").getInt(-1) < ConfigMigrator.LATEST;
return node.node("configVersion").virtual() || node.node("configVersion").getInt(0) < ConfigMigrator.LATEST;
}
}

0 comments on commit aad10a1

Please sign in to comment.