Refactor HandleRandomNameGeneratorPacket