mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 17:45:08 +02:00
[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
This commit is contained in:
@@ -51,7 +51,7 @@ public class EssentialsProtectPlayerListener extends PlayerListener
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user.isAuthorized("essentials.protect.admin"))
|
if (user.isAuthorized("essentials.protect.ownerinfo"))
|
||||||
{
|
{
|
||||||
String ownerName = spData.getBlockOwner(user.getWorld().getName(), user.getName(),
|
String ownerName = spData.getBlockOwner(user.getWorld().getName(), user.getName(),
|
||||||
blockClicked);
|
blockClicked);
|
||||||
|
Reference in New Issue
Block a user