chore: Removed warnings about non-item children

This commit is contained in:
Alexey 2026-03-24 13:04:32 +03:00
commit 764e196d39

View file

@ -32,7 +32,6 @@ impl Inventory {
for entity in contained_items {
let Ok(item) = item_query.get(*entity) else {
warn!("Could not query inventory child ({entity}), probably not item?");
continue;
};
@ -51,7 +50,6 @@ impl Inventory {
queried_position: UVec2,
) -> bool {
let Ok(item::Item {size, ..}) = item_query.get(queried_item) else {
error!("Could not query inventory child ({queried_item}), probably not item?");
return false;
};
let children = contained_items.iter()