summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-13 23:49:27 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-13 23:49:27 +0200
commitfdabfd77e22397e149740bb5cb09a2f77805f05f (patch)
tree3e4ee70220e45bd7359febe0e3191430d2c8b7fa /src/Items/ItemHandler.cpp
parentEntities experience water resistance (diff)
downloadcuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar
cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.gz
cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.bz2
cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.lz
cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.xz
cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.zst
cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.zip
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r--src/Items/ItemHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index f7882a50f..8c3f28c74 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -334,7 +334,7 @@ void cItemHandler::OnBlockDestroyed(cWorld * a_World, cPlayer * a_Player, const
{
cChunkInterface ChunkInterface(a_World->GetChunkMap());
cBlockInServerPluginInterface PluginInterface(*a_World);
- Handler->DropBlock(ChunkInterface, *a_World, PluginInterface, a_Player, a_BlockX, a_BlockY, a_BlockZ, CanHarvestBlock(Block), a_Player->GetEquippedItem().m_Enchantments.GetLevel(cEnchantments::enchSilkTouch) > 0);
+ Handler->DropBlock(ChunkInterface, *a_World, PluginInterface, a_Player, a_BlockX, a_BlockY, a_BlockZ, CanHarvestBlock(Block));
}
if (!cBlockInfo::IsOneHitDig(Block))