diff options
author | Necrodoom <doomed.war@gmail.com> | 2012-09-29 15:57:31 +0300 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-09-30 17:16:03 +0100 |
commit | 21cb8efb90580a3b7550c714494918d7e4e1f9d2 (patch) | |
tree | 68a811021c6424d0929411fcbf34f0bcb3d4c6c1 | |
parent | cd7be1bb868860ca3cc5de668efd0aeedb070834 (diff) | |
download | Essentials-21cb8efb90580a3b7550c714494918d7e4e1f9d2.tar Essentials-21cb8efb90580a3b7550c714494918d7e4e1f9d2.tar.gz Essentials-21cb8efb90580a3b7550c714494918d7e4e1f9d2.tar.lz Essentials-21cb8efb90580a3b7550c714494918d7e4e1f9d2.tar.xz Essentials-21cb8efb90580a3b7550c714494918d7e4e1f9d2.zip |
update kit sign permission check
-rw-r--r-- | Essentials/src/com/earth2me/essentials/signs/SignKit.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/signs/SignKit.java b/Essentials/src/com/earth2me/essentials/signs/SignKit.java index aee1d7dea..1c3528a18 100644 --- a/Essentials/src/com/earth2me/essentials/signs/SignKit.java +++ b/Essentials/src/com/earth2me/essentials/signs/SignKit.java @@ -51,7 +51,7 @@ public class SignKit extends EssentialsSign final String kitName = sign.getLine(1).toLowerCase(Locale.ENGLISH).trim(); final String group = sign.getLine(2); if ((!group.isEmpty() && ("ยง2Everyone".equals(group) || player.inGroup(group))) - || (group.isEmpty() && (player.isAuthorized("essentials.kit." + kitName)))) + || (group.isEmpty() && (player.isAuthorized("essentials.kits." + kitName)))) { final Trade charge = getTrade(sign, 3, ess); charge.isAffordableFor(player); |