From 7a6af25bc2540f6cf78aa497b58d3f960696f9da Mon Sep 17 00:00:00 2001 From: endernon Date: Wed, 6 Nov 2024 17:21:49 +0000 Subject: [PATCH] change debug print location for powder adding and element --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 9bd9a09..17ec69b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -141,12 +141,13 @@ fn cook() -> Result<(), Errorfr> { Element::Thunder } }; - dbg!("Element type: {}",eletype); - powdervec.push(Some((eletype,powdertier))); if debug_mode { dbg!(powdertier); dbg!(powderamount); + dbg!(eletype); } + powdervec.push(Some((eletype,powdertier))); + };