1
2
3
4
5
6
7
8
9
10
use crate::error::CobbleResult;
use crate::minecraft::{load_loader_mods, LoaderMod};
use crate::Instance;

impl Instance {
    /// Loads all log files from this instance.
    pub async fn load_loader_mods(&self) -> CobbleResult<Vec<LoaderMod>> {
        load_loader_mods(self.dot_minecraft_path()).await
    }
}