summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockDoor.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-02 16:25:19 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-04 19:15:18 +0200
commit71ba18d6c6a5faa59410cca6b7f9f7a6a10ca738 (patch)
tree16cfab433cf5c393eb010510a186abd46c4cbef4 /src/Blocks/BlockDoor.h
parentCorrected wakeup sequences (diff)
downloadcuberite-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 '')
-rw-r--r--src/Blocks/BlockDoor.h6
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);