Implement message for #2640 (#2721)

* Update Essentials.java

* Update messages.properties

* Update messages.properties
This commit is contained in:
montlikadani 2020-03-31 06:01:15 +02:00 committed by GitHub
parent c8b8e505f3
commit 2bbe6d6069
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -521,6 +521,7 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
// Check for disabled commands
if (getSettings().isCommandDisabled(commandLabel)) {
sender.sendMessage(tl("commandDisabled", commandLabel));
return true;
}

View file

@ -62,6 +62,7 @@ cleaning=Cleaning userfiles.
clearInventoryConfirmToggleOff=\u00a76You will no longer be prompted to confirm inventory clears.
clearInventoryConfirmToggleOn=\u00a76You will now be prompted to confirm inventory clears.
commandCooldown=\u00a7cYou cannot type that command for {0}.
commandDisabled=\u00a7cThe command\u00a76 {0}\u00a7c is disabled.
commandFailed=Command {0} failed\:
commandHelpFailedForPlugin=Error getting help for plugin\: {0}
commandNotLoaded=\u00a74Command {0} is improperly loaded.