Remove unneeded override as it's covered by the one above it now

This commit is contained in:
Vincent Lee committed 2020-02-20 14:10:50 -06:00
1 parent 0440ada3dd
commit c0eed8a8e9
1 file changed
-8
@@ -52,14 +52,6 @@ public class ItemManasteelPick extends PickaxeItem implements IManaUsingItem, IS
return ToolCommons.damageItemIfPossible(stack, amount, entity, getManaPerDamage());
}
@Override
public boolean onBlockDestroyed(@Nonnull ItemStack stack, @Nonnull World world, @Nonnull BlockState state, @Nonnull BlockPos pos, @Nonnull LivingEntity entity) {
if(state.getBlockHardness(world, pos) != 0F)
ToolCommons.damageItem(stack, 1, entity, getManaPerDamage());
return true;
}
@Nonnull
@Override
public ActionResultType onItemUse(ItemUseContext ctx) {