diff options
author | snowleo <schneeleo@gmail.com> | 2011-06-12 14:32:28 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-06-12 14:32:28 +0200 |
commit | ba6ef52438b33924de17c776a0e797af82427fdd (patch) | |
tree | 3e33ab015bbae2ab6e7ee37345ac87d17326771e /EssentialsProtect | |
parent | 05b2e36e51a40065e4897dcf47b22279fe3679fb (diff) | |
download | Essentials-ba6ef52438b33924de17c776a0e797af82427fdd.tar Essentials-ba6ef52438b33924de17c776a0e797af82427fdd.tar.gz Essentials-ba6ef52438b33924de17c776a0e797af82427fdd.tar.lz Essentials-ba6ef52438b33924de17c776a0e797af82427fdd.tar.xz Essentials-ba6ef52438b33924de17c776a0e797af82427fdd.zip |
The permission is essentials.protect.ownerinfo
Diffstat (limited to 'EssentialsProtect')
-rw-r--r-- | EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java | 2 |
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; |