diff options
-rw-r--r-- | src/server.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/server.cpp b/src/server.cpp index dcbc9fe76..e33a675c4 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3140,12 +3140,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id) } item = NULL; - - if(mineral != MINERAL_NONE) - item = getDiggedMineralItem(mineral, this); - - // If not mineral - if(item == NULL) + { const std::string &extra_dug_s = m_nodedef->get(material).extra_dug_item; s32 extra_rarity = m_nodedef->get(material).extra_dug_item_rarity; |