Fix GT axes using proper MCP name for break speed function override.
This commit is contained in:
parent
dcb95af00e
commit
bfc95e0ce1
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@ public class GT_Vanilla_Axe extends GT_Vanilla_Tool {
|
|||
setHarvestLevel("axe", mHarvestLevel);
|
||||
}
|
||||
|
||||
public float getStrVsBlock(ItemStack aStack, Block aBlock) {
|
||||
@Override
|
||||
public float func_150893_a(ItemStack aStack, Block aBlock) {
|
||||
return aBlock != null && (aBlock.getMaterial() == Material.wood || aBlock.getMaterial() == Material.plants || aBlock.getMaterial() == Material.vine) ? this.efficiencyOnProperMaterial : super.func_150893_a(aStack, aBlock);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue