mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 07:36:01 +00:00
Updating to 14.23.5.2808; naming fixes where necessary
This commit is contained in:
1 parent
a79a3e1658
commit
8d3f8df49c
93 files changed
+171
-177
No files matched your search
@@ -68,14 +68,14 @@ public class ItemMekanismPickaxe extends ItemMekanismTool
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getStrVsBlock(ItemStack itemstack, IBlockState blockState)
|
||||
public float getDestroySpeed(ItemStack itemstack, IBlockState blockState)
|
||||
{
|
||||
if(blockState != null && blockState.getBlock() != null && (blockState.getMaterial() == Material.IRON || blockState.getMaterial() == Material.ANVIL || blockState.getMaterial() == Material.ROCK))
|
||||
{
|
||||
return efficiencyOnProperMaterial;
|
||||
return efficiency;
|
||||
}
|
||||
else {
|
||||
return super.getStrVsBlock(itemstack, blockState);
|
||||
return super.getDestroySpeed(itemstack, blockState);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user