Fixed the speed of scythes against leaves
This commit is contained in:
parent
ace4f77e1b
commit
7cf90c6e55
1 changed files with 4 additions and 15 deletions
|
@ -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());
|
||||
return Items.shears.func_150893_a(item, block);
|
||||
}
|
||||
else
|
||||
{
|
||||
strength = super.getStrVsBlock(par1ItemStack, par2Block);
|
||||
}
|
||||
|
||||
return strength;
|
||||
}*/
|
||||
|
||||
@Override
|
||||
public int getItemEnchantability()
|
||||
|
|
Loading…
Reference in a new issue