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));

View File

@ -268,7 +268,9 @@ public class mcMMO extends JavaPlugin {
}
if(pluginManager.getPlugin(ULTRA_PERMISSONS) != null) {
getLogger().info("mcMMO has detected UltraPermissions is running, make sure to keep both mcMMO and UltraPermissions updated as older versions of UltraPermissions had performance degradation issues when used in conjunction with mcMMO");
Bukkit.getScheduler().runTaskLater(this, () -> {
getLogger().severe("mcMMO and UltraPermissions have a severe conflict resulting in extreme server performance degradation, an update will be available soon (according to the UltraPermission devs) that will fix this issue. For now it is not advised to use these plugins at the same time. It is advised that you keep mcMMO and UltraPermission up to date.");
}, 20);
}
}