ignoreCancelled

This commit is contained in:
Ghost_chu committed 2021-05-14 18:35:37 +08:00
1 parent 0d84e50cfa
commit af7b782035
1 file changed
+2 -2
@@ -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;