summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-08 16:35:32 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-08 16:35:32 +0000
commit76ba31d1a3ca54ffe78b9a63c80d1f6080cea688 (patch)
tree23b89480f1c65edd04dbbb0f71dd59fcd8fed615 /EssentialsProtect/src/com/earth2me/essentials/protect
parent70e72d7744b625d3c4d1af76f222ad042e21e93d (diff)
downloadEssentials-76ba31d1a3ca54ffe78b9a63c80d1f6080cea688.tar
Essentials-76ba31d1a3ca54ffe78b9a63c80d1f6080cea688.tar.gz
Essentials-76ba31d1a3ca54ffe78b9a63c80d1f6080cea688.tar.lz
Essentials-76ba31d1a3ca54ffe78b9a63c80d1f6080cea688.tar.xz
Essentials-76ba31d1a3ca54ffe78b9a63c80d1f6080cea688.zip
[trunk] New permission essentials.protect.ownerinfo shows the owner of each block, was essentials.protect.admin before.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1158 e251c2fe-e539-e718-e476-b85c1f46cddb
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 f8ef85cc7..6594db1c2 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
@@ -51,7 +51,7 @@ public class EssentialsProtectPlayerListener extends PlayerListener
return;
}
- if (user.isAuthorized("essentials.protect.admin"))
+ if (user.isAuthorized("essentials.protect.ownerinfo"))
{
String ownerName = spData.getBlockOwner(user.getWorld().getName(), user.getName(),
blockClicked);