Fix chainsaw speed on nether wood. Closes #2359
This commit is contained in:
parent
585f149c16
commit
ead39e98c4
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public class ChainsawItem extends AxeItem implements EnergyHolder, ItemDurabilit
|
|||
@Override
|
||||
public float getMiningSpeedMultiplier(ItemStack stack, BlockState state) {
|
||||
if (Energy.of(stack).getEnergy() >= cost
|
||||
&& (state.getMaterial() == Material.WOOD)) {
|
||||
&& (state.getMaterial() == Material.WOOD || state.getMaterial() == Material.NETHER_WOOD)) {
|
||||
return poweredSpeed;
|
||||
}
|
||||
return unpoweredSpeed;
|
||||
|
|
Loading…
Reference in a new issue