From 5084548b53a5699022e1962fa3f1bb853ce2336f Mon Sep 17 00:00:00 2001 From: juliancoffee Date: Fri, 11 Jun 2021 01:33:47 +0300 Subject: [PATCH] Add warnings about non-existent items in /kit --- server/src/cmd.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/cmd.rs b/server/src/cmd.rs index a8f747e5b5..926b439588 100644 --- a/server/src/cmd.rs +++ b/server/src/cmd.rs @@ -1615,6 +1615,8 @@ fn handle_kit( comp::InventoryUpdate::new(comp::InventoryUpdateEvent::Debug), ), ); + } else { + warn!("Unknown item: {}", &item_id); } } Ok(())