From bff8be8b766de227d4bf25f162f857750a8fbd76 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 4 Dec 2011 03:47:55 +0200 Subject: [PATCH] Fix getting two old-style minerals per digged node --- src/server.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index dcbc9fe7..e33a675c 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; -- 2.30.2