demote chatty WARN messages to DEBUG

develop
Myk Taylor 2023-04-24 00:31:20 -07:00
parent 4c1322c826
commit ab047af163
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

@ -36,6 +36,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
## New Plugins ## New Plugins
## Fixes ## Fixes
- `autoclothing`: eliminate game lag when there are many inventory items in the fort
## Misc Improvements ## Misc Improvements
- `buildingplan`: planner panel is minimized by default and now remembers minimized state - `buildingplan`: planner panel is minimized by default and now remembers minimized state

@ -565,7 +565,7 @@ static void find_needed_clothing_items()
if (!item) if (!item)
{ {
WARN(cycle).print("autoclothing: Invalid inventory item ID: %d\n", ownedItem); DEBUG(cycle).print("autoclothing: Invalid inventory item ID: %d\n", ownedItem);
continue; continue;
} }
@ -818,7 +818,7 @@ static void generate_report(color_ostream& out)
auto item = Items::findItemByID(itemId); auto item = Items::findItemByID(itemId);
if (!item) if (!item)
{ {
WARN(cycle,out).print("autoclothing: Invalid inventory item ID: %d\n", itemId); DEBUG(cycle, out).print("autoclothing: Invalid inventory item ID: %d\n", itemId);
continue; continue;
} }
if (item->getWear() >= 1) if (item->getWear() >= 1)