diff options
author | andrew <xdotftw@gmail.com> | 2014-03-01 20:34:19 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-03-01 20:34:19 +0100 |
commit | d73cdba1f66a92f011ac881b581595c0959139ef (patch) | |
tree | a5c62bbc0cf7c52727e96e348a5978698c6c7a5d /src/Blocks/BlockRedstone.h | |
parent | Refactored global block property arrays (diff) | |
download | cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.gz cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.bz2 cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.lz cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.xz cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.zst cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.zip |
Diffstat (limited to 'src/Blocks/BlockRedstone.h')
-rw-r--r-- | src/Blocks/BlockRedstone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockRedstone.h b/src/Blocks/BlockRedstone.h index 10de96197..a898c9acb 100644 --- a/src/Blocks/BlockRedstone.h +++ b/src/Blocks/BlockRedstone.h @@ -20,7 +20,7 @@ public: virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override { - return ((a_RelY > 0) && g_BlockFullyOccupiesVoxel[a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ)]); + return ((a_RelY > 0) && cBlockInfo::FullyOccupiesVoxel(a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ))); } |