mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-10-18 05:22:29 +00:00
Pass the original block in redstone propagation
notifyBlockOfStateChange and notifyNeighborsOfStateExcept expect the block which caused the redstone update, rather than the neighbor block. Fixes #393
This commit is contained in:
@@ -76,7 +76,7 @@ public abstract class TileComputerBase extends TileGeneric
|
||||
unload();
|
||||
for( EnumFacing dir : EnumFacing.VALUES )
|
||||
{
|
||||
RedstoneUtil.propogateRedstoneOutput( getWorld(), getPos(), dir );
|
||||
RedstoneUtil.propagateRedstoneOutput( getWorld(), getPos(), dir );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -380,7 +380,7 @@ public abstract class TileComputerBase extends TileGeneric
|
||||
updateBlock();
|
||||
for( EnumFacing dir : EnumFacing.VALUES )
|
||||
{
|
||||
RedstoneUtil.propogateRedstoneOutput( getWorld(), getPos(), dir );
|
||||
RedstoneUtil.propagateRedstoneOutput( getWorld(), getPos(), dir );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user