1
2
3
4
5
6
7
8
9
use crate::minecraft::saves::{load_saves, SaveGame};
use crate::{CobbleResult, Instance};

impl Instance {
    /// Loads all saves from this instance.
    pub fn load_saves(&self) -> CobbleResult<Vec<SaveGame>> {
        load_saves(self.dot_minecraft_path())
    }
}