diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 17:16:35 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 17:16:35 +0100 |
commit | 0e6107bfddeb6265f7a20076cdb86d5fa1aaa905 (patch) | |
tree | abbc672f049128c6821b2f0c12cd49692bcaaf8f /src/Blocks | |
parent | fixed visual studio compile flags (diff) | |
parent | Merge pull request #450 from mc-server/redstonefixes (diff) | |
download | cuberite-0e6107bfddeb6265f7a20076cdb86d5fa1aaa905.tar cuberite-0e6107bfddeb6265f7a20076cdb86d5fa1aaa905.tar.gz cuberite-0e6107bfddeb6265f7a20076cdb86d5fa1aaa905.tar.bz2 cuberite-0e6107bfddeb6265f7a20076cdb86d5fa1aaa905.tar.lz cuberite-0e6107bfddeb6265f7a20076cdb86d5fa1aaa905.tar.xz cuberite-0e6107bfddeb6265f7a20076cdb86d5fa1aaa905.tar.zst cuberite-0e6107bfddeb6265f7a20076cdb86d5fa1aaa905.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockRedstone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockRedstone.h b/src/Blocks/BlockRedstone.h index 57bd91b46..1bd9995f2 100644 --- a/src/Blocks/BlockRedstone.h +++ b/src/Blocks/BlockRedstone.h @@ -20,7 +20,7 @@ public: virtual bool CanBeAt(int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override { - return ((a_RelY > 0) && g_BlockIsSolid[a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ)]); + return ((a_RelY > 0) && g_BlockIsTorchPlaceable[a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ)]); } |