mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-22 22:45:04 +01:00
Better check for ignoring non-configurate configs for considering comment moving
This commit is contained in:
parent
0952f79c44
commit
e506c14eb4
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ public final class ConfigLoader {
|
|||
|
||||
if (originallyEmpty || currentVersion != newVersion) {
|
||||
|
||||
if (!originallyEmpty && currentVersion != 4) {
|
||||
if (!originallyEmpty && currentVersion > 4) {
|
||||
// Only copy comments over if the file already existed, and we are going to replace it
|
||||
|
||||
// Second case: Version 4 is pre-configurate where there were commented out nodes.
|
||||
|
|
Loading…
Reference in a new issue