1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-18 20:41:37 +02:00

no permissions is not an error, so dont output it as a warning

This commit is contained in:
Necrodoom
2013-06-12 12:41:15 +03:00
parent 129fd53d5a
commit e4d7aacc5d

View File

@@ -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;
} }