diff --git a/gameserver/src/net/handlers/inventory.rs b/gameserver/src/net/handlers/inventory.rs index 87830c5..465b642 100644 --- a/gameserver/src/net/handlers/inventory.rs +++ b/gameserver/src/net/handlers/inventory.rs @@ -9,7 +9,7 @@ use std::fs; use crate::{net::PlayerSession, util}; pub async fn on_get_bag_cs_req(session: &PlayerSession, _: &GetBagCsReq) -> Result<()> { - let json_data = fs::read_to_string("C:/Users/Al-Shebli/Downloads/HSR 2.3 beta/JadeSR-masters/jadesr/gameserver/src/net/handlers/inventory.json").expect("Failed to read inventory.json"); + let json_data = fs::read_to_string("PATH HERE").expect("Failed to read inventory.json"); let json_value: Value = serde_json::from_str(&json_data).expect("Failed to parse JSON data"); // Extract ranks diff --git a/gameserver/src/net/handlers/mod.rs b/gameserver/src/net/handlers/mod.rs index e5da9c0..4c2e183 100644 --- a/gameserver/src/net/handlers/mod.rs +++ b/gameserver/src/net/handlers/mod.rs @@ -7,6 +7,7 @@ mod mission; mod player; mod scene; mod tutorial; +mod inventory; use anyhow::Result; use paste::paste;