-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
git-Spigot-57bbdd8-dea4138 (MC: 1.16.3)
-
Yes
All YamlConfiguration.load methods state the following in their Javadocs:
All the values contained within this configuration will be removed, leaving only settings and defaults, and the new values will be loaded from the given file.
Unfortunately, this is incorrect, none of the configuration values are removed as clear is not called on the underlying map.