summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-18 00:05:42 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-18 00:05:42 +0100
commit13a22918e572d70c52a79ca8b57a59c2ffafb405 (patch)
tree5853dca939b91095112122b192f896198f80d90c /src
parentFixed bad repeater power queuing in corner case (diff)
downloadcuberite-13a22918e572d70c52a79ca8b57a59c2ffafb405.tar
cuberite-13a22918e572d70c52a79ca8b57a59c2ffafb405.tar.gz
cuberite-13a22918e572d70c52a79ca8b57a59c2ffafb405.tar.bz2
cuberite-13a22918e572d70c52a79ca8b57a59c2ffafb405.tar.lz
cuberite-13a22918e572d70c52a79ca8b57a59c2ffafb405.tar.xz
cuberite-13a22918e572d70c52a79ca8b57a59c2ffafb405.tar.zst
cuberite-13a22918e572d70c52a79ca8b57a59c2ffafb405.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/RedstoneSimulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/RedstoneSimulator.cpp b/src/Simulator/RedstoneSimulator.cpp
index 7eefd1ba6..eb26d0ca3 100644
--- a/src/Simulator/RedstoneSimulator.cpp
+++ b/src/Simulator/RedstoneSimulator.cpp
@@ -90,7 +90,7 @@ void cRedstoneSimulator::SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, c
BLOCKTYPE DestBlockType;
if (
!a_Chunk->UnboundedRelGetBlock(RelX, itr->a_SourcePos.y, RelZ, SourceBlockType, SourceBlockMeta) ||
- !a_Chunk->UnboundedRelGetBlockType(DestRelX, itr->a_SourcePos.y, DestRelZ, DestBlockType)
+ !a_Chunk->UnboundedRelGetBlockType(DestRelX, itr->a_BlockPos.y, DestRelZ, DestBlockType)
)
{
continue;