Fixed the speed of scythes against leaves

This commit is contained in:
Adubbz 2014-01-15 15:53:57 +11:00
parent ace4f77e1b
commit 7cf90c6e55
1 changed files with 4 additions and 15 deletions

View File

@ -327,23 +327,12 @@ public class ItemBOPScythe extends Item
}
}
//@Override
@Override
//TODO: getStrVsBlock
/* TODO: FEATURE public float func_150893_a(ItemStack par1ItemStack, Block par2Block)
public float func_150893_a(ItemStack item, Block block)
{
float strength = 0;
if (Blocks.shearBlockIds.get(par2Block.blockID) != null)
{
strength = Float.parseFloat(Blocks.shearBlockIds.get(par2Block.blockID).toString());
}
else
{
strength = super.getStrVsBlock(par1ItemStack, par2Block);
}
return strength;
}*/
return Items.shears.func_150893_a(item, block);
}
@Override
public int getItemEnchantability()