mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-05 16:08:14 +01: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:
parent
70e72d7744
commit
76ba31d1a3
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user