forked from good_britland/JadeSR-fork
even more things ive forgotten
This commit is contained in:
parent
ee41831b67
commit
aa5b80d4d3
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -7,6 +7,7 @@ mod mission;
|
|||
mod player;
|
||||
mod scene;
|
||||
mod tutorial;
|
||||
mod inventory;
|
||||
|
||||
use anyhow::Result;
|
||||
use paste::paste;
|
||||
|
|
Loading…
Reference in a new issue