mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-09-11 01:48:59 +02:00
Allow trusted users to use /plot set
This commit is contained in:
parent
412a3ee344
commit
f2f7fbce09
@ -27,7 +27,7 @@ public abstract class SetCommand extends SubCommand {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!plot.isOwner(player.getUUID())) {
|
if (!plot.isOwner(player.getUUID()) && !plot.getTrusted().contains(player.getUUID())) {
|
||||||
if (!Permissions.hasPermission(player, CaptionUtility
|
if (!Permissions.hasPermission(player, CaptionUtility
|
||||||
.format(player, Captions.PERMISSION_ADMIN_COMMAND.getTranslated(), getFullId()))) {
|
.format(player, Captions.PERMISSION_ADMIN_COMMAND.getTranslated(), getFullId()))) {
|
||||||
MainUtil.sendMessage(player, Captions.NO_PERMISSION, CaptionUtility
|
MainUtil.sendMessage(player, Captions.NO_PERMISSION, CaptionUtility
|
||||||
|
Loading…
Reference in New Issue
Block a user