Skip to content

Commit

Permalink
Fix DualHarvest Tools and hide in a corner
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Nov 4, 2014
1 parent 83e1a33 commit 02ede76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/tconstruct/library/tools/DualHarvestTool.java
Expand Up @@ -57,7 +57,7 @@ public float getDigSpeed (ItemStack stack, Block block, int meta)
if (materials[i] == block.getMaterial())
{
if (block.getHarvestLevel(meta) <= tags.getInteger("HarvestLevel"))
AbilityHelper.calcDualToolSpeed(this, tags, false);
return AbilityHelper.calcDualToolSpeed(this, tags, false);
return 0.1f;
}
}
Expand All @@ -67,7 +67,7 @@ public float getDigSpeed (ItemStack stack, Block block, int meta)
if (materials[i] == block.getMaterial())
{
if (block.getHarvestLevel(meta) <= tags.getInteger("HarvestLevel2"))
AbilityHelper.calcDualToolSpeed(this, tags, true);
return AbilityHelper.calcDualToolSpeed(this, tags, true);
return 0.1f;
}
}
Expand Down

0 comments on commit 02ede76

Please sign in to comment.