3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-19 22:40:18 +01:00

Better check for ignoring non-configurate configs for considering comment moving

Dieser Commit ist enthalten in:
Konicai 2024-08-08 21:30:44 -05:00
Ursprung 0952f79c44
Commit e506c14eb4

Datei anzeigen

@ -133,7 +133,7 @@ public final class ConfigLoader {
if (originallyEmpty || currentVersion != newVersion) { 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 // 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. // Second case: Version 4 is pre-configurate where there were commented out nodes.