diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-02 16:25:19 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-04 19:15:18 +0200 |
commit | 71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738 (patch) | |
tree | 16cfab433cf5c393eb010510a186abd46c4cbef4 /src/Blocks/BlockDoor.h | |
parent | Corrected wakeup sequences (diff) | |
download | cuberite-71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738.tar cuberite-71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738.tar.gz cuberite-71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738.tar.bz2 cuberite-71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738.tar.lz cuberite-71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738.tar.xz cuberite-71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738.tar.zst cuberite-71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738.zip |
Diffstat (limited to 'src/Blocks/BlockDoor.h')
-rw-r--r-- | src/Blocks/BlockDoor.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Blocks/BlockDoor.h b/src/Blocks/BlockDoor.h index a32649961..a953a8553 100644 --- a/src/Blocks/BlockDoor.h +++ b/src/Blocks/BlockDoor.h @@ -87,12 +87,6 @@ public: virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, cBlockEntity * a_BlockEntity, const cEntity * a_Digger, const cItem * a_Tool) override { - // Top part of a door doesn't drop anything: - if ((a_BlockMeta & 0x08) != 0) - { - return {}; - } - switch (m_BlockType) { case E_BLOCK_OAK_DOOR: return cItem(E_ITEM_WOODEN_DOOR); |