mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
parent
eb3e6611db
commit
e469c1d634
1 changed files with 6 additions and 1 deletions
|
@ -103,8 +103,13 @@ public class ItemAllToolAA extends ItemToolAA implements IColorProvidingItem{
|
|||
|
||||
@Override
|
||||
public float getStrVsBlock(ItemStack stack, IBlockState state){
|
||||
if(state.getBlock() == Blocks.WEB){
|
||||
return 15.0F;
|
||||
}
|
||||
else{
|
||||
return this.hasExtraWhitelist(state.getBlock()) || state.getBlock().getHarvestTool(state) == null || state.getBlock().getHarvestTool(state).isEmpty() || this.getToolClasses(stack).contains(state.getBlock().getHarvestTool(state)) ? this.efficiencyOnProperMaterial : 1.0F;
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue