mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-02 17:09:58 +01:00
Merge pull request #485 from necrodoom/patch-29
no permissions is not an error, so dont output it as a warning
This commit is contained in:
commit
ae2a03d80c
@ -403,7 +403,7 @@ public class Essentials extends JavaPlugin implements IEssentials
|
|||||||
// Check authorization
|
// Check authorization
|
||||||
if (user != null && !user.isAuthorized(cmd, permissionPrefix))
|
if (user != null && !user.isAuthorized(cmd, permissionPrefix))
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, _("deniedAccessCommand", user.getName()));
|
LOGGER.log(Level.INFO, _("deniedAccessCommand", user.getName()));
|
||||||
user.sendMessage(_("noAccessCommand"));
|
user.sendMessage(_("noAccessCommand"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user