Tweak UP msg, remove debug msg about unused keys

This commit is contained in:
nossr50
2021-04-05 13:50:27 -07:00
parent 2d11b7befc
commit 4c237b2e9c
3 changed files with 10 additions and 7 deletions

View File

@@ -53,11 +53,11 @@ public abstract class AutoUpdateConfigLoader extends ConfigLoader {
if (!newKeys.isEmpty() || !oldKeys.isEmpty()) {
needSave = true;
}
for (String key : oldKeys) {
plugin.debug("Detected potentially unused key: " + key);
//config.set(key, null);
}
//
// for (String key : oldKeys) {
// plugin.debug("Detected potentially unused key: " + key);
// //config.set(key, null);
// }
for (String key : newKeys) {
plugin.debug("Adding new key: " + key + " = " + internalConfig.get(key));