diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-28 01:29:19 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-28 01:29:19 +0200 |
commit | 0a20e19a64f88e66af68018cc46bc37dfdca7948 (patch) | |
tree | 109fee013a2682772387ed25a0e6be6249d361b0 /src/Blocks/BlockButton.h | |
parent | Fixed bad water/redstone simulator communication (diff) | |
download | cuberite-0a20e19a64f88e66af68018cc46bc37dfdca7948.tar cuberite-0a20e19a64f88e66af68018cc46bc37dfdca7948.tar.gz cuberite-0a20e19a64f88e66af68018cc46bc37dfdca7948.tar.bz2 cuberite-0a20e19a64f88e66af68018cc46bc37dfdca7948.tar.lz cuberite-0a20e19a64f88e66af68018cc46bc37dfdca7948.tar.xz cuberite-0a20e19a64f88e66af68018cc46bc37dfdca7948.tar.zst cuberite-0a20e19a64f88e66af68018cc46bc37dfdca7948.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockButton.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockButton.h b/src/Blocks/BlockButton.h index 4b2f6f618..7d9af207d 100644 --- a/src/Blocks/BlockButton.h +++ b/src/Blocks/BlockButton.h @@ -102,7 +102,7 @@ public: AddFaceDirection(a_RelX, a_RelY, a_RelZ, BlockMetaDataToBlockFace(Meta), true); BLOCKTYPE BlockIsOn; a_Chunk.UnboundedRelGetBlockType(a_RelX, a_RelY, a_RelZ, BlockIsOn); - return (a_RelY > 0) && (cBlockInfo::IsSolid(BlockIsOn)); + return (a_RelY > 0) && (cBlockInfo::FullyOccupiesVoxel(BlockIsOn)); } } ; |