summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockRedstone.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)];
}