mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 08:02:13 -07:00
SPIGOT-6274: Reloading configuration does not clear previous values
By: blablubbabc <lukas@wirsindwir.de>
This commit is contained in:
@@ -66,6 +66,8 @@ public class YamlConfiguration extends FileConfiguration {
|
||||
options().header(header);
|
||||
}
|
||||
|
||||
this.map.clear();
|
||||
|
||||
if (input != null) {
|
||||
convertMapsToSections(input, this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user