mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Tweak UP msg, remove debug msg about unused keys
This commit is contained in:
parent
2d11b7befc
commit
4c237b2e9c
@ -3,8 +3,9 @@ Version 2.1.188
|
|||||||
Fixed a bug where excavation treasures only required level 0 instead of loading the value from the config
|
Fixed a bug where excavation treasures only required level 0 instead of loading the value from the config
|
||||||
Fixed a bug where /fishing was showing the wrong shake chance
|
Fixed a bug where /fishing was showing the wrong shake chance
|
||||||
Default Shake chance increased from 15% to 30% (update advanced.yml manually or delete the file to regenerate it and receive these changes)
|
Default Shake chance increased from 15% to 30% (update advanced.yml manually or delete the file to regenerate it and receive these changes)
|
||||||
Removed entries for ranks 2-8 of Shake from advanced.yml (Shake only has one rank, these entries were a mistake)
|
Removed entries for ranks 2-8 of Shake from advanced.yml (Shake only has one rank, the extra entries were a mistake)
|
||||||
Modified the warning about UltraPermissions
|
Modified the warning about UltraPermissions
|
||||||
|
Removed the debug message about potentially unused keys (only shown if you had debug mode enabled in config.yml)
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
This update makes changes to treasures.yml automatically to apply the fix, you don't need to do anything
|
This update makes changes to treasures.yml automatically to apply the fix, you don't need to do anything
|
||||||
|
@ -53,11 +53,11 @@ public abstract class AutoUpdateConfigLoader extends ConfigLoader {
|
|||||||
if (!newKeys.isEmpty() || !oldKeys.isEmpty()) {
|
if (!newKeys.isEmpty() || !oldKeys.isEmpty()) {
|
||||||
needSave = true;
|
needSave = true;
|
||||||
}
|
}
|
||||||
|
//
|
||||||
for (String key : oldKeys) {
|
// for (String key : oldKeys) {
|
||||||
plugin.debug("Detected potentially unused key: " + key);
|
// plugin.debug("Detected potentially unused key: " + key);
|
||||||
//config.set(key, null);
|
// //config.set(key, null);
|
||||||
}
|
// }
|
||||||
|
|
||||||
for (String key : newKeys) {
|
for (String key : newKeys) {
|
||||||
plugin.debug("Adding new key: " + key + " = " + internalConfig.get(key));
|
plugin.debug("Adding new key: " + key + " = " + internalConfig.get(key));
|
||||||
|
@ -268,7 +268,9 @@ public class mcMMO extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(pluginManager.getPlugin(ULTRA_PERMISSONS) != null) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user