summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorJaume Aloy <hircine45@gmail.com>2014-08-22 11:49:49 +0200
committerJaume Aloy <hircine45@gmail.com>2014-08-22 11:49:49 +0200
commit7d771953c0e8275311ca13802e52ccf92a170644 (patch)
treee3fad32e6152bf7c33fa4381b7503bb8c0c87143 /src/Blocks
parentProtection Enchantments, some fixes (diff)
downloadcuberite-7d771953c0e8275311ca13802e52ccf92a170644.tar
cuberite-7d771953c0e8275311ca13802e52ccf92a170644.tar.gz
cuberite-7d771953c0e8275311ca13802e52ccf92a170644.tar.bz2
cuberite-7d771953c0e8275311ca13802e52ccf92a170644.tar.lz
cuberite-7d771953c0e8275311ca13802e52ccf92a170644.tar.xz
cuberite-7d771953c0e8275311ca13802e52ccf92a170644.tar.zst
cuberite-7d771953c0e8275311ca13802e52ccf92a170644.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockHandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 0155aa97b..c8a57906f 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -433,7 +433,6 @@ void cBlockHandler::DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterfac
else
{
// TODO: Add a proper overridable function for this
- // Pickups.Add(m_BlockType, 1, Meta);
cEnchantments Enchantments = a_Digger->GetEquippedWeapon().m_Enchantments;
if ((Enchantments.GetLevel(cEnchantments::enchSilkTouch) > 0) && a_Digger->IsPlayer())
{