summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockRedstone.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-19 22:58:49 +0100
committerMattes D <github@xoft.cz>2013-12-19 22:58:49 +0100
commit39251bccd3a3744859ae2818e9283971a6413326 (patch)
treefa0adcda98ce23be2d2c77b65c85766a1425ab05 /src/Blocks/BlockRedstone.h
parentMerge pull request #449 from mc-server/Fishing_Rod (diff)
parentFixed PlayerAbilities and creative (diff)
downloadcuberite-39251bccd3a3744859ae2818e9283971a6413326.tar
cuberite-39251bccd3a3744859ae2818e9283971a6413326.tar.gz
cuberite-39251bccd3a3744859ae2818e9283971a6413326.tar.bz2
cuberite-39251bccd3a3744859ae2818e9283971a6413326.tar.lz
cuberite-39251bccd3a3744859ae2818e9283971a6413326.tar.xz
cuberite-39251bccd3a3744859ae2818e9283971a6413326.tar.zst
cuberite-39251bccd3a3744859ae2818e9283971a6413326.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)]);
}