mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Fixed "lower tool" messages still being displayed even when ability
messages are disabled.
This commit is contained in:
@ -152,7 +152,10 @@ public class Skills {
|
||||
|
||||
if (PP.getToolPreparationMode(tool) && curTime - (PP.getToolPreparationATS(tool) * TIME_CONVERSION_FACTOR) >= FOUR_SECONDS) {
|
||||
PP.setToolPreparationMode(tool, false);
|
||||
player.sendMessage(tool.getLowerTool());
|
||||
|
||||
if (Config.getInstance().getAbilityMessagesEnabled()) {
|
||||
player.sendMessage(tool.getLowerTool());
|
||||
}
|
||||
}
|
||||
|
||||
if (ability.getPermissions(player)) {
|
||||
|
Reference in New Issue
Block a user