summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Blocks/BlockHandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 41b9780ac..1eaef9702 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -531,6 +531,12 @@ void cBlockHandler::DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterfac
Pickups.Add(m_BlockType, 1, 0);
break;
}
+ case E_BLOCK_LEAVES:
+ case E_BLOCK_NEW_LEAVES:
+ {
+ Pickups.Add(m_BlockType, 1, Meta & 0x03);
+ break;
+ }
default: Pickups.Add(m_BlockType, 1, Meta); break;
}
}