master #1

Merged
endernon merged 2 commits from Aldemzee/JadeSR-WithInventory:master into master 2024-05-10 21:26:00 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit aa5b80d4d3 - Show all commits

View file

@ -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

View file

@ -7,6 +7,7 @@ mod mission;
mod player;
mod scene;
mod tutorial;
mod inventory;
use anyhow::Result;
use paste::paste;