From 47726d1923317d30ef4c80a4d984092c1ce4cdc2 Mon Sep 17 00:00:00 2001 From: Glassmaker Date: Sun, 27 Jul 2014 03:06:30 +0300 Subject: [PATCH] Fixed the clever's mining fatigue still active after throwing the cleaver, closes #731 --- src/main/java/tconstruct/items/tools/Cleaver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/tconstruct/items/tools/Cleaver.java b/src/main/java/tconstruct/items/tools/Cleaver.java index 1967890e795..b1e23563e13 100644 --- a/src/main/java/tconstruct/items/tools/Cleaver.java +++ b/src/main/java/tconstruct/items/tools/Cleaver.java @@ -150,7 +150,7 @@ public void onUpdate (ItemStack stack, World world, Entity entity, int par4, boo 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)); } } }