From 0eee5acac74d1940846c37cf8e647779080fb212 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sun, 12 Jun 2011 21:58:09 +0200 Subject: [PATCH] To make things consistent: permissions: essentials.signs.break.signname and essentials.signs.signname.break --- .../src/com/earth2me/essentials/signs/EssentialsSign.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java b/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java index a5dff46d7..3f87658e1 100644 --- a/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java +++ b/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java @@ -86,7 +86,8 @@ public class EssentialsSign final User user = ess.getUser(event.getPlayer()); try { - return user.isAuthorized("essentials.signs.break." + signName.toLowerCase()) + return (user.isAuthorized("essentials.signs." + signName.toLowerCase() + ".break") + || user.isAuthorized("essentials.signs.break." + signName.toLowerCase())) && onSignBreak(sign, user, getUsername(user), ess); } catch (SignException ex)