diff --git a/src/items/item.cpp b/src/items/item.cpp index a19aa5e829b..c62fd85f728 100644 --- a/src/items/item.cpp +++ b/src/items/item.cpp @@ -78,7 +78,7 @@ Item* Item::CreateItem(const uint16_t type, uint16_t count /*= 0*/) } newItem->incrementReferenceCounter(); - } else { + } else if (type != 0) { SPDLOG_WARN("[Item::CreateItem] Item with id '{}' is not registered and cannot be created.", type); }