Usually with the expense of fixing a motorcycle gearbox due to the complexity and therefore the time consuming nature of the work, in most countries given the cost of labor it is easier and cheaper to unfortunately change the entire engine.

Try to get Lifan to warranty the engine, or go with a 2nd hand engine from whomever Lifan cloned the original from. Honda, Suzuki or Yamaha most likely.