summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-06-12 14:32:28 +0200
committersnowleo <schneeleo@gmail.com>2011-06-12 14:32:28 +0200
commitbfa8b2666178402e33bfe3888b38beeb197039fa (patch)
tree0b607df668e2e923680f477032684086fb25b89e /EssentialsProtect/src/com/earth2me/essentials/protect
parent772bf4c7d0d5b37cd35716733fe9346a81a972e3 (diff)
downloadEssentials-bfa8b2666178402e33bfe3888b38beeb197039fa.tar
Essentials-bfa8b2666178402e33bfe3888b38beeb197039fa.tar.gz
Essentials-bfa8b2666178402e33bfe3888b38beeb197039fa.tar.lz
Essentials-bfa8b2666178402e33bfe3888b38beeb197039fa.tar.xz
Essentials-bfa8b2666178402e33bfe3888b38beeb197039fa.zip
The permission is essentials.protect.ownerinfo
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
index 9f26b619f..57a6b8c6a 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
@@ -46,7 +46,7 @@ public class EssentialsProtectPlayerListener extends PlayerListener
return;
}
- if (user.isAuthorized("essentials.protect.admin") && event.getAction() == Action.RIGHT_CLICK_BLOCK)
+ if (user.isAuthorized("essentials.protect.ownerinfo") && event.getAction() == Action.RIGHT_CLICK_BLOCK)
{
final StringBuilder stringBuilder = new StringBuilder();
boolean first = true;