mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-08-08 07:15:27 +02:00
+ this
This commit is contained in:
@@ -116,6 +116,9 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Plot plot = MainUtil.getPlot(loc);
|
Plot plot = MainUtil.getPlot(loc);
|
||||||
|
if (plot == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
Flag redstone = FlagManager.getPlotFlag(plot, "redstone");
|
Flag redstone = FlagManager.getPlotFlag(plot, "redstone");
|
||||||
if (redstone == null || (Boolean) redstone.getValue()) {
|
if (redstone == null || (Boolean) redstone.getValue()) {
|
||||||
return;
|
return;
|
||||||
@@ -162,6 +165,9 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Plot plot = MainUtil.getPlot(loc);
|
Plot plot = MainUtil.getPlot(loc);
|
||||||
|
if (plot == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
Flag redstone = FlagManager.getPlotFlag(plot, "redstone");
|
Flag redstone = FlagManager.getPlotFlag(plot, "redstone");
|
||||||
if (redstone == null || (Boolean) redstone.getValue()) {
|
if (redstone == null || (Boolean) redstone.getValue()) {
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user