summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-19 16:57:35 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-19 16:57:35 +0100
commit53ff372624e31028e61cdf72a82945fe935bb420 (patch)
tree2bfed5c86591f8a81009676f5564a08e61d9efdb /src/Blocks
parentFixed repeaters not updating power (diff)
downloadcuberite-53ff372624e31028e61cdf72a82945fe935bb420.tar
cuberite-53ff372624e31028e61cdf72a82945fe935bb420.tar.gz
cuberite-53ff372624e31028e61cdf72a82945fe935bb420.tar.bz2
cuberite-53ff372624e31028e61cdf72a82945fe935bb420.tar.lz
cuberite-53ff372624e31028e61cdf72a82945fe935bb420.tar.xz
cuberite-53ff372624e31028e61cdf72a82945fe935bb420.tar.zst
cuberite-53ff372624e31028e61cdf72a82945fe935bb420.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockRedstone.h2
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)]);
}