Fix redstone bug described in #5407 turns out it did have to call markDirtyTransmitters and notifyTileChange was not enough

This commit is contained in:
pupnewfster committed 2019-04-17 12:01:23 -04:00
1 parent 04372a6426
commit a5d9a5a2c1
1 file changed
+4 -1
@@ -412,7 +412,10 @@ public abstract class TileEntitySidedPipe extends TileEntity implements ITileNet
}
//If the redstone mode changed properly update the connection to other transmitters/networks
if (previouslyPowered != redstonePowered) {
notifyTileChange();
//Has to be markDirtyTransmitters instead of notify tile change
// or it will not properly tell the neighboring connections that
// it is no longer valid
markDirtyTransmitters();
}
redstoneSet = true;