summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator
diff options
context:
space:
mode:
authorMichal Havlíček <80639037+havel06@users.noreply.github.com>2022-01-02 17:37:39 +0100
committerGitHub <noreply@github.com>2022-01-02 17:37:39 +0100
commit9f2a198a627e222be5c99ca2e5d47facfe9aacf4 (patch)
tree000e8eb757774b4af154fecf0bff3b17e74e9585 /src/Simulator/IncrementalRedstoneSimulator
parentAlpha sort BlockInfo and Block/ItemHandler (diff)
downloadcuberite-9f2a198a627e222be5c99ca2e5d47facfe9aacf4.tar
cuberite-9f2a198a627e222be5c99ca2e5d47facfe9aacf4.tar.gz
cuberite-9f2a198a627e222be5c99ca2e5d47facfe9aacf4.tar.bz2
cuberite-9f2a198a627e222be5c99ca2e5d47facfe9aacf4.tar.lz
cuberite-9f2a198a627e222be5c99ca2e5d47facfe9aacf4.tar.xz
cuberite-9f2a198a627e222be5c99ca2e5d47facfe9aacf4.tar.zst
cuberite-9f2a198a627e222be5c99ca2e5d47facfe9aacf4.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
index 70a546b0e..cfdecb246 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
@@ -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)
{