diff --git a/src/strategy/actions/DestroyItemAction.cpp b/src/strategy/actions/DestroyItemAction.cpp index 4f150833..4318a738 100644 --- a/src/strategy/actions/DestroyItemAction.cpp +++ b/src/strategy/actions/DestroyItemAction.cpp @@ -27,11 +27,11 @@ void DestroyItemAction::DestroyItem(FindItemVisitor* visitor) std::vector items = visitor->GetResult(); for (Item* item : items) { - bot->DestroyItem(item->GetBagSlot(),item->GetSlot(), true); - std::ostringstream out; out << chat->FormatItem(item->GetTemplate()) << " destroyed"; botAI->TellMaster(out); + + bot->DestroyItem(item->GetBagSlot(),item->GetSlot(), true); } }