Partial fix for #916
This commit is contained in:
parent
9da8a7789b
commit
1023ecca65
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ public abstract class GT_MetaGenerated_Tool extends GT_MetaBase_Item implements
|
|||
if (isItemStackUsable(aStack)) {
|
||||
IToolStats toolStats = getToolStats(aStack);
|
||||
if(toolStats != null && toolStats.isMinableBlock(state)) {
|
||||
if(getHarvestLevel(aStack, null) > state.getBlock().getHarvestLevel(state)) {
|
||||
if(getHarvestLevel(aStack, null) >= state.getBlock().getHarvestLevel(state)) {
|
||||
float toolSpeed = toolStats.getSpeedMultiplier() * getPrimaryMaterial(aStack).mToolSpeed;
|
||||
return Math.max(defSpeed, toolSpeed);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue