mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-30 08:53:47 +00:00
Merge pull request #307 from noisiver/item-info
Make bots say messages about items configurable
This commit is contained in:
@@ -13,6 +13,9 @@ bool QueryItemUsageAction::Execute(Event event)
|
||||
if (!GetMaster() && !sPlayerbotAIConfig->randomBotSayWithoutMaster)
|
||||
return false;
|
||||
|
||||
if (!sPlayerbotAIConfig->sayWhenCollectingItems)
|
||||
return false;
|
||||
|
||||
WorldPacket& data = event.getPacket();
|
||||
if (!data.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user