printlnl removal

This commit is contained in:
endernon 2025-01-14 22:53:31 +00:00
parent 477532580c
commit 8d2e685957
2 changed files with 1 additions and 4 deletions

View file

@ -78,11 +78,8 @@ pub fn dl_json_fr(dlvalue: &String, executable_path: &str) {
&load_gear(executable_path) &load_gear(executable_path)
.unwrap() .unwrap()
).unwrap(); ).unwrap();
println!("loaded frfrnocap");
let mut outer = fs::File::create(format!("{}{}",executable_path, "/data/gear_cache.json")).map_err(|_| Errorfr::GearJsonCacheCreateFail).unwrap(); let mut outer = fs::File::create(format!("{}{}",executable_path, "/data/gear_cache.json")).map_err(|_| Errorfr::GearJsonCacheCreateFail).unwrap();
println!("created outer");
outer.write_all(&frfrnocap).unwrap(); outer.write_all(&frfrnocap).unwrap();
println!("written outer")
} }
} }
} }

View file

@ -156,7 +156,7 @@ fn cook(out: &mut Vec<u8>, debug_mode: &bool, ver: EncodingVersion, json_config:
match json_config.item_type { match json_config.item_type {
ItemTypeDeser::Gear | ItemTypeDeser::Tome | ItemTypeDeser::Charm => { ItemTypeDeser::Gear | ItemTypeDeser::Tome | ItemTypeDeser::Charm => {
if namefr != *"" { if namefr != *"" {
println!("cool tree"); println!("Overriding IDs with perfect ones!");
let fr_gear = load_gear_cache(executable_path)?; let fr_gear = load_gear_cache(executable_path)?;
} }
else if let Some(real_ids) = &json_config.ids { else if let Some(real_ids) = &json_config.ids {