From 67a70d4ade63879a1d4f95f3a84203261e30038e Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Thu, 17 May 2018 15:17:45 +1000 Subject: [PATCH] Fixes #1928 --- .../main/java/com/intellectualcrafters/plot/commands/Owner.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/Owner.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/Owner.java index fa460871a..4182696fc 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/Owner.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/Owner.java @@ -73,9 +73,11 @@ public class Owner extends SetCommand { } final String finalName = name; final UUID finalUUID = uuid; + boolean removeDenied = plot.isDenied(finalUUID); Runnable run = new Runnable() { @Override public void run() { + if (removeDenied) plot.removeDenied(finalUUID); plot.setOwner(finalUUID); plot.setSign(finalName); MainUtil.sendMessage(player, C.SET_OWNER);