Fix settings changes not being saved (#11881)

Closes #11878
This commit is contained in:
Noah van der Aa 2025-01-01 21:56:23 +01:00 committed by GitHub
parent 1dd52bed49
commit 83995d7e80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,7 +122,7 @@
Properties map = Settings.this.cloneProperties();
map.put(this.key, this.serializer.apply(newValue));
- return Settings.this.reload(registryAccess, map);
+ return Settings.this.reload(registryAccess, properties, Settings.this.options); // CraftBukkit
+ return Settings.this.reload(registryAccess, map, Settings.this.options); // CraftBukkit
}
}
}