mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Correct config options
This commit is contained in:
@@ -934,9 +934,11 @@ void PlayerbotAI::HandleBotOutgoingPacket(WorldPacket const& packet)
|
||||
}
|
||||
case SMSG_MESSAGECHAT: // do not react to self or if not ready to reply
|
||||
{
|
||||
if (!sPlayerbotAIConfig->randomBotTalk)
|
||||
return;
|
||||
|
||||
if (!AllowActivity())
|
||||
return;
|
||||
|
||||
WorldPacket p(packet);
|
||||
if (!p.empty() && (p.GetOpcode() == SMSG_MESSAGECHAT || p.GetOpcode() == SMSG_GM_MESSAGECHAT))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user