Permalink
Browse files

Fix getting two old-style minerals per digged node

  • Loading branch information...
1 parent 3e95b8a commit bff8be8b766de227d4bf25f162f857750a8fbd76 @celeron55 celeron55 committed Dec 4, 2011
Showing with 1 addition and 6 deletions.
  1. +1 −6 src/server.cpp
View
@@ -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;

0 comments on commit bff8be8

Please sign in to comment.