Skip to content

Commit

Permalink
-Auto mail fix: Stop reported money and items from piling after multi…
Browse files Browse the repository at this point in the history
…ple mail actions.
  • Loading branch information
mostlikely4r committed Jun 11, 2024
1 parent 36c93ab commit 6274aff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions playerbot/strategy/actions/MailAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ class TakeMailProcessor : public MailProcessor
return false;
}

copper = 0;
items.clear();

ObjectGuid mailbox = FindMailbox(ai);
if (mail->money)
{
Expand Down

0 comments on commit 6274aff

Please sign in to comment.