Merge pull request #3298 from myk002/myk_autoclothing

[autoclothing] demote chatty WARN messages to DEBUG
develop
Myk 2023-04-24 14:37:35 -07:00 committed by GitHub
commit 8f3d9f2f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
## Fixes
- `autoclothing`: eliminate game lag when there are many inventory items in the fort
- `buildingplan`: fixed size limit calculations for rollers
- `dig-now`: properly detect and complete smoothing designations that have been converted into active jobs

@ -565,7 +565,7 @@ static void find_needed_clothing_items()
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;
}
@ -818,7 +818,7 @@ static void generate_report(color_ostream& out)
auto item = Items::findItemByID(itemId);
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;
}
if (item->getWear() >= 1)