summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockRedstone.h
diff options
context:
space:
mode:
authorluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-23 20:13:37 +0200
committerluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-23 20:13:37 +0200
commit1e452425469e4a0cbf61fce698eb3ad89fb80a77 (patch)
treef38c53dd0f72971c1c829034250e38284831eb1e /source/Blocks/BlockRedstone.h
parentYou can now see particles and hear sounds when other players are destroying blocks. (diff)
downloadcuberite-1e452425469e4a0cbf61fce698eb3ad89fb80a77.tar
cuberite-1e452425469e4a0cbf61fce698eb3ad89fb80a77.tar.gz
cuberite-1e452425469e4a0cbf61fce698eb3ad89fb80a77.tar.bz2
cuberite-1e452425469e4a0cbf61fce698eb3ad89fb80a77.tar.lz
cuberite-1e452425469e4a0cbf61fce698eb3ad89fb80a77.tar.xz
cuberite-1e452425469e4a0cbf61fce698eb3ad89fb80a77.tar.zst
cuberite-1e452425469e4a0cbf61fce698eb3ad89fb80a77.zip
Diffstat (limited to 'source/Blocks/BlockRedstone.h')
-rw-r--r--source/Blocks/BlockRedstone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Blocks/BlockRedstone.h b/source/Blocks/BlockRedstone.h
index bb4997e2f..85c993329 100644
--- a/source/Blocks/BlockRedstone.h
+++ b/source/Blocks/BlockRedstone.h
@@ -27,7 +27,7 @@ public:
virtual bool CanBeAt(cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ) override
{
- return a_World->GetBlock(a_BlockX, a_BlockY - 1, a_BlockZ) != E_BLOCK_AIR;
+ return g_BlockIsSolid[a_World->GetBlock(a_BlockX, a_BlockY - 1, a_BlockZ)];
}