Fixed diagonal redstone powering (#5363)
* Fixed diagonal redstone powering * Transparent blocks don't transmit downwards
This commit is contained in:
parent
9245ab7e05
commit
9f2a198a62
@ -27,6 +27,7 @@ feyokorenhof
|
||||
Gareth Nelson
|
||||
GefaketHD
|
||||
HaoTNN
|
||||
havel06 (Michal Havlíček)
|
||||
Howaner
|
||||
ion232 (Arran Ireland)
|
||||
jan64
|
||||
|
@ -146,7 +146,7 @@ namespace RedstoneWireHandler
|
||||
(NeighbourChunk->GetBlock(Adjacent + OffsetYP) == E_BLOCK_REDSTONE_WIRE) // Only terrace YP with another wire
|
||||
)
|
||||
{
|
||||
SetDirectionState(Offset, Block, TemporaryDirection::Up);
|
||||
SetDirectionState(Offset, Block, cBlockInfo::IsTransparent(LateralBlock) ? TemporaryDirection::Side : TemporaryDirection::Up);
|
||||
|
||||
if (NeighbourChunk != &Chunk)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user