fix mod loading

it was using the wrong path because i broke it :)
This commit is contained in:
Lion Kortlepel
2023-11-29 22:44:25 +01:00
parent 452a4c5e16
commit 87a0d46b00
2 changed files with 2 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ impl Client {
mod_name.remove(0); // Remove f
debug!("Client is requesting file {}", mod_name);
let client_resources = config.general.get_server_resource_folder()?;
let client_resources = config.general.get_client_resource_folder()?;
let mod_path = fs_util::join_path_secure(Path::new(&client_resources), Path::new(&mod_name))?;
if !mod_path.exists() || !mod_path.is_file() {