mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-25 00:25:27 +02:00
Fix the redstone flag on roads
This commit is contained in:
@@ -133,7 +133,7 @@ public class BlockEventListener implements Listener {
|
|||||||
}
|
}
|
||||||
Plot plot = location.getOwnedPlot();
|
Plot plot = location.getOwnedPlot();
|
||||||
if (plot == null) {
|
if (plot == null) {
|
||||||
if (area.isRoadFlags() && area.getRoadFlag(RedstoneFlag.class)) {
|
if (area.isRoadFlags() && !area.getRoadFlag(RedstoneFlag.class)) {
|
||||||
event.setNewCurrent(0);
|
event.setNewCurrent(0);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user