Index: source/cBlockToPickup.cpp =================================================================== --- source/cBlockToPickup.cpp (revision 647) +++ source/cBlockToPickup.cpp (working copy) @@ -75,27 +75,37 @@ // Blocks that always drop a single item, no matter what tool: + case E_BLOCK_CLAY: a_Drops.push_back(cItem(E_ITEM_CLAY, 4)); return; case E_BLOCK_SIGN_POST: case E_BLOCK_WALLSIGN: a_Drops.push_back(cItem(E_ITEM_SIGN, 1)); return; case E_BLOCK_REDSTONE_WIRE: a_Drops.push_back(cItem(E_ITEM_REDSTONE_DUST, 1)); return; case E_BLOCK_GLOWSTONE: a_Drops.push_back(cItem(E_ITEM_GLOWSTONE_DUST, 1)); return; case E_BLOCK_REDSTONE_REPEATER_OFF: case E_BLOCK_REDSTONE_REPEATER_ON: a_Drops.push_back(cItem(E_ITEM_REDSTONE_REPEATER, 1)); return; - case E_BLOCK_COBWEB: a_Drops.push_back(cItem(E_ITEM_STRING, 1)); return; case E_BLOCK_FARMLAND: case E_BLOCK_GRASS: a_Drops.push_back(cItem(E_ITEM_DIRT, 1)); return; case E_BLOCK_LIT_FURNACE: a_Drops.push_back(cItem(E_ITEM_FURNACE, 1)); return; case E_BLOCK_SUGARCANE: a_Drops.push_back(cItem(E_ITEM_SUGARCANE, 1)); return; case E_BLOCK_PUMPKIN_STEM: a_Drops.push_back(cItem(E_ITEM_PUMPKIN_SEEDS, 1)); return; case E_BLOCK_MELON_STEM: a_Drops.push_back(cItem(E_ITEM_MELON_SEEDS, 1)); return; + case E_BLOCK_MYCELIUM: a_Drops.push_back(cItem(E_ITEM_DIRT, 1)); return; // Doors seem to need their meta set to 1 case E_BLOCK_WOODEN_DOOR: a_Drops.push_back(cItem(E_ITEM_WOODEN_DOOR, 1, 1)); return; case E_BLOCK_IRON_DOOR: a_Drops.push_back(cItem(E_ITEM_IRON_DOOR, 1, 1)); return; - //////////////////////// + // edits made by STR_Warrior (didnt know where to place this + case E_BLOCK_COBWEB: + { + if (ItemCategory::IsSword(a_UsedItem.m_ItemID)) + { + a_Drops.push_back(cItem(E_ITEM_STRING, 1)); + } + return; + } + //////////////////////// // Ores: // Coal ore requires a pickaxe: