Bilibili Gaming säkrade sin första titel i Världsmästerskapen i League of Legends genom att besegra Gen.G 3-1 i finalen som hölls på Barclays Center.