mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Fix redstone bug described in #5407 turns out it did have to call markDirtyTransmitters and notifyTileChange was not enough
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user