mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-22 16:05:02 +00:00
Fix the redstone flag on roads
This commit is contained in:
parent
87a8ff742f
commit
73e3572c72
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ public class BlockEventListener implements Listener {
|
|||
}
|
||||
Plot plot = location.getOwnedPlot();
|
||||
if (plot == null) {
|
||||
if (area.isRoadFlags() && area.getRoadFlag(RedstoneFlag.class)) {
|
||||
if (area.isRoadFlags() && !area.getRoadFlag(RedstoneFlag.class)) {
|
||||
event.setNewCurrent(0);
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue