1
0

More Enchantments

- Added Thorns and Respiration enchantments
This commit is contained in:
Jaume Aloy
2014-08-22 11:49:49 +02:00
parent 19d1c976e7
commit 7d771953c0
2 changed files with 74 additions and 62 deletions

View File

@@ -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())
{