From af7b782035911fb10670bf724bf2e89103d15293 Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Fri, 14 May 2021 18:35:37 +0800 Subject: [PATCH] ignoreCancelled --- .../integration/plotsquared/PlotSquaredIntegrationV4.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV4.java b/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV4.java index 985d1a665..119b5a1a3 100644 --- a/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV4.java +++ b/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV4.java @@ -129,12 +129,12 @@ public class PlotSquaredIntegrationV4 extends QSIntegratedPlugin implements List return shopsList; } - @EventHandler + @EventHandler(ignoreCancelled = true) public void onPlotDelete(PlotDeleteEvent event) { getShops(event.getPlot()).forEach(Shop::delete); } - @EventHandler + @EventHandler(ignoreCancelled = true) public void onPlotUntrusted(PlayerPlotTrustedEvent event) { if (!deleteUntrusted) { return;