From 5eb2fc3ad0ffbe8dc8ec01c39b3233f804ff8c37 Mon Sep 17 00:00:00 2001 From: Bernhard Date: Tue, 24 May 2022 20:30:06 +0200 Subject: [PATCH] Kick players on merged plots appropriately (#3639) fix: kick denied player regardless on all connected plots --- Core/src/main/java/com/plotsquared/core/command/Deny.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/plotsquared/core/command/Deny.java b/Core/src/main/java/com/plotsquared/core/command/Deny.java index 0c925dd76..e38861e44 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Deny.java +++ b/Core/src/main/java/com/plotsquared/core/command/Deny.java @@ -161,6 +161,7 @@ public class Deny extends SubCommand { } private void handleKick(PlotPlayer player, Plot plot) { + plot = plot.getBasePlot(false); if (player == null) { return; }