From 25100c46f7273e7f8dce5c8aaedb5996080bf8fc Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Thu, 10 Dec 2020 22:13:13 +0100 Subject: [PATCH] Don't unclaim claimed plots with /p claim --- Core/src/main/java/com/plotsquared/core/command/Claim.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/plotsquared/core/command/Claim.java b/Core/src/main/java/com/plotsquared/core/command/Claim.java index fb193f155..3119b912b 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Claim.java +++ b/Core/src/main/java/com/plotsquared/core/command/Claim.java @@ -115,6 +115,7 @@ public class Claim extends SubCommand { if (!plot.canClaim(player)) { player.sendMessage(TranslatableCaption.of("working.plot_is_claimed")); + return false; } if (schematic != null && !schematic.isEmpty()) { if (area.isSchematicClaimSpecify()) {