From 9f0db64482242a2bf61f9138dc873324c7c00098 Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 17 Jul 2024 23:56:07 -0400 Subject: [PATCH] Clean up --- src/bot.rs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/bot.rs b/src/bot.rs index fa681eb..40b3dfa 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -39,13 +39,6 @@ const TRADE_ACTION_DELAY: Duration = Duration::from_millis(300); const ACCOUNCEMENT_DELAY: Duration = Duration::from_mins(45); const OUCH_DELAY: Duration = Duration::from_secs(2); -/// TODO: Implement Display -#[derive(Debug)] -pub struct Reciept { - pub my_items: HashMap, - pub their_items: HashMap, -} - /// An active connection to the Veloren server that will attempt to run every time the `tick` /// function is called. /// @@ -955,6 +948,12 @@ impl Bot { } } +#[derive(Debug)] +pub struct Reciept { + pub my_items: HashMap, + pub their_items: HashMap, +} + #[derive(Debug, Clone, Copy, PartialEq, Eq)] enum TradeMode { AdminAccess,