summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-16 23:35:30 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-16 23:35:30 +0200
commit9dea609194e27d282480ca56be99f0becec8d899 (patch)
tree2adfbb24001122997c621e7b06c019e7e314e2a4 /src
parentMerge pull request #883 from mc-server/CutOffLighting (diff)
downloadcuberite-9dea609194e27d282480ca56be99f0becec8d899.tar
cuberite-9dea609194e27d282480ca56be99f0becec8d899.tar.gz
cuberite-9dea609194e27d282480ca56be99f0becec8d899.tar.bz2
cuberite-9dea609194e27d282480ca56be99f0becec8d899.tar.lz
cuberite-9dea609194e27d282480ca56be99f0becec8d899.tar.xz
cuberite-9dea609194e27d282480ca56be99f0becec8d899.tar.zst
cuberite-9dea609194e27d282480ca56be99f0becec8d899.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockSlab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Blocks/BlockSlab.h b/src/Blocks/BlockSlab.h
index 80841b094..f3f2366fd 100644
--- a/src/Blocks/BlockSlab.h
+++ b/src/Blocks/BlockSlab.h
@@ -80,6 +80,7 @@ public:
if (IsAnySlabType(a_ChunkInterface.GetBlock(a_BlockX, a_BlockY, a_BlockZ)))
{
a_BlockType = GetDoubleSlabType(m_BlockType);
+ a_BlockMeta = a_BlockMeta & 0x7;
}
return true;