summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockRedstone.h
diff options
context:
space:
mode:
authortycho <tycho@hanoverdesktop>2013-12-20 01:13:04 +0100
committertycho <tycho@hanoverdesktop>2013-12-20 01:13:04 +0100
commit7735a956f06821e30116df808f94801b5fbd19e6 (patch)
tree6c9c9c0b7484d1dd7343ba05c9b54b098e8104fd /src/Blocks/BlockRedstone.h
parentfixed D9025 (diff)
parentMerge pull request #450 from mc-server/redstonefixes (diff)
downloadcuberite-7735a956f06821e30116df808f94801b5fbd19e6.tar
cuberite-7735a956f06821e30116df808f94801b5fbd19e6.tar.gz
cuberite-7735a956f06821e30116df808f94801b5fbd19e6.tar.bz2
cuberite-7735a956f06821e30116df808f94801b5fbd19e6.tar.lz
cuberite-7735a956f06821e30116df808f94801b5fbd19e6.tar.xz
cuberite-7735a956f06821e30116df808f94801b5fbd19e6.tar.zst
cuberite-7735a956f06821e30116df808f94801b5fbd19e6.zip
Diffstat (limited to 'src/Blocks/BlockRedstone.h')
-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)]);
}