From f2f7fbce09efe8c0edd7e56e3da01dcc7af7dc9d Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 25 Mar 2020 11:01:19 +0000 Subject: [PATCH] Allow trusted users to use /plot set --- .../intellectualsites/plotsquared/plot/commands/SetCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/SetCommand.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/SetCommand.java index e3190b3a9..da9c11719 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/SetCommand.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/commands/SetCommand.java @@ -27,7 +27,7 @@ public abstract class SetCommand extends SubCommand { return false; } } - if (!plot.isOwner(player.getUUID())) { + if (!plot.isOwner(player.getUUID()) && !plot.getTrusted().contains(player.getUUID())) { if (!Permissions.hasPermission(player, CaptionUtility .format(player, Captions.PERMISSION_ADMIN_COMMAND.getTranslated(), getFullId()))) { MainUtil.sendMessage(player, Captions.NO_PERMISSION, CaptionUtility