mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
+ this
This commit is contained in:
parent
87776c5b15
commit
17ed04e945
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user