Fixed the clever's mining fatigue still active after throwing the cleaver, closes #731

This commit is contained in:
Glassmaker committed 2014-07-27 03:06:30 +03:00
1 parent efbed8af88
commit 47726d1923
1 file changed
+1 -1
@@ -150,7 +150,7 @@ public class Cleaver extends Weapon
ItemStack equipped = player.getCurrentEquippedItem();
if (equipped == stack)
{
player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 1, 2));
player.addPotionEffect(new PotionEffect(Potion.digSlowdown.id, 2, 2, true));
}
}
}