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

View file

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