summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-18 09:45:41 +0200
committerarchshift <admin@archshift.com>2014-06-18 09:47:08 +0200
commit21b9253ee6cd912988c4decbeb425f0a2cfd804d (patch)
tree3b2db643ebeade22b763070bd5de450f736f6518 /src
parentMerge pull request #1101 from Howaner/FenceGate (diff)
parentFix doubleslab meta. (diff)
downloadcuberite-21b9253ee6cd912988c4decbeb425f0a2cfd804d.tar
cuberite-21b9253ee6cd912988c4decbeb425f0a2cfd804d.tar.gz
cuberite-21b9253ee6cd912988c4decbeb425f0a2cfd804d.tar.bz2
cuberite-21b9253ee6cd912988c4decbeb425f0a2cfd804d.tar.lz
cuberite-21b9253ee6cd912988c4decbeb425f0a2cfd804d.tar.xz
cuberite-21b9253ee6cd912988c4decbeb425f0a2cfd804d.tar.zst
cuberite-21b9253ee6cd912988c4decbeb425f0a2cfd804d.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;