diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-14 22:32:28 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-14 22:32:28 +0200 |
commit | 9d4d25cdbf2891708841830ca532e9d1f4163f32 (patch) | |
tree | ca17d40cf75a970b3577ce0cc7afb71ace7b4e86 /src/Blocks | |
parent | Merge pull request #2346 from SamJBarney/TreeGrowthUpdate (diff) | |
parent | Fix duping doors (#1327) (diff) | |
download | cuberite-9d4d25cdbf2891708841830ca532e9d1f4163f32.tar cuberite-9d4d25cdbf2891708841830ca532e9d1f4163f32.tar.gz cuberite-9d4d25cdbf2891708841830ca532e9d1f4163f32.tar.bz2 cuberite-9d4d25cdbf2891708841830ca532e9d1f4163f32.tar.lz cuberite-9d4d25cdbf2891708841830ca532e9d1f4163f32.tar.xz cuberite-9d4d25cdbf2891708841830ca532e9d1f4163f32.tar.zst cuberite-9d4d25cdbf2891708841830ca532e9d1f4163f32.zip |
Diffstat (limited to 'src/Blocks')
-rw-r--r-- | src/Blocks/BlockDoor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Blocks/BlockDoor.h b/src/Blocks/BlockDoor.h index 4773e6f0a..79ed4f723 100644 --- a/src/Blocks/BlockDoor.h +++ b/src/Blocks/BlockDoor.h @@ -55,6 +55,10 @@ public: virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override { + if ((a_BlockMeta & 0x08) != 0) // is top part of door + { + return; + } switch (m_BlockType) { case E_BLOCK_WOODEN_DOOR: |