diff --git a/src/encode.rs b/src/encode.rs index c1e9dc1..5b1eae0 100644 --- a/src/encode.rs +++ b/src/encode.rs @@ -260,4 +260,8 @@ impl FuncParams<'_> { EndData.encode(self.fr_ver, self.fr_out).unwrap(); Ok(()) } + pub fn encode_damagedata(&mut self) -> Result<(), Errorfr> { + + Ok(()) + } } diff --git a/src/main.rs b/src/main.rs index 8e3bb92..2913f8d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -210,7 +210,7 @@ fn cook( let mut final_string: String = encode_string(out); - // add NameAfter + // add NameAfter. not actually an encode. match json_config.item_type { ItemTypeDeser::CraftedGear | ItemTypeDeser::CraftedConsu => { if let Some(real_name) = &json_config.name {