From e3094f255840f5f01e757d60062fa9eb5f12bd8f Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Tue, 8 Aug 2023 00:49:04 +0800 Subject: [PATCH] ClearAllItems during randomize --- src/PlayerbotFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerbotFactory.cpp b/src/PlayerbotFactory.cpp index d31f5f25..e1d118e4 100644 --- a/src/PlayerbotFactory.cpp +++ b/src/PlayerbotFactory.cpp @@ -124,7 +124,7 @@ void PlayerbotFactory::Randomize(bool incremental) { ResetQuests(); } - ClearInventory(); + ClearAllItems(); bot->SaveToDB(false, false); bot->GiveLevel(level);