summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-22 18:37:56 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-22 18:37:56 +0100
commit05c670dc50093e5bc678c30766f383a3a0dbb4d3 (patch)
treeb2a6dcf22a6fcc0e2d7d7062455452bdeec3927a /src/Blocks
parentMade the lure enchantment work. (diff)
downloadcuberite-05c670dc50093e5bc678c30766f383a3a0dbb4d3.tar
cuberite-05c670dc50093e5bc678c30766f383a3a0dbb4d3.tar.gz
cuberite-05c670dc50093e5bc678c30766f383a3a0dbb4d3.tar.bz2
cuberite-05c670dc50093e5bc678c30766f383a3a0dbb4d3.tar.lz
cuberite-05c670dc50093e5bc678c30766f383a3a0dbb4d3.tar.xz
cuberite-05c670dc50093e5bc678c30766f383a3a0dbb4d3.tar.zst
cuberite-05c670dc50093e5bc678c30766f383a3a0dbb4d3.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockCactus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockCactus.h b/src/Blocks/BlockCactus.h
index f77df5e42..88be25dc0 100644
--- a/src/Blocks/BlockCactus.h
+++ b/src/Blocks/BlockCactus.h
@@ -54,7 +54,7 @@ public:
NIBBLETYPE BlockMeta;
if (
a_Chunk.UnboundedRelGetBlock(a_RelX + Coords[i].x, a_RelY, a_RelZ + Coords[i].z, BlockType, BlockMeta) &&
- (BlockType != E_BLOCK_AIR)
+ (g_BlockIsSolid[BlockType])
)
{
return false;