1
0

Changed if in BlockHandler

This commit is contained in:
Jaume Aloy
2014-08-19 18:40:42 +02:00
parent 596203e692
commit 5008eb8c83
2 changed files with 2 additions and 6 deletions

View File

@@ -316,7 +316,6 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
// IsOnGround() only is false if the player is moving downwards
// TODO: Better damage increase, and check for enchantments (and use magic critical instead of plain)
// Thanks to daniel0916
cEnchantments Enchantments = Player->GetEquippedItem().m_Enchantments;
int SharpnessLevel = Enchantments.GetLevel(cEnchantments::enchSharpness);