mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 18:09:48 -05:00
ignoreCancelled
This commit is contained in:
1 parent
0d84e50cfa
commit
af7b782035
1 file changed
+2
-2
+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;
|
||||
|
||||
Reference in new issue
Block a user