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:
SquidDev
2017-09-10 09:32:02 +01:00
parent 88b1124204
commit a2da6d9601
3 changed files with 6 additions and 6 deletions
@@ -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 );
}
}