mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
ResetChatTimer no longer needed with upstream chat flood handling changes
This commit is contained in:
@@ -124,7 +124,6 @@ class PlayerbotsPlayerScript : public PlayerScript
|
|||||||
if (PlayerbotAI* botAI = GET_PLAYERBOT_AI(receiver))
|
if (PlayerbotAI* botAI = GET_PLAYERBOT_AI(receiver))
|
||||||
{
|
{
|
||||||
botAI->HandleCommand(type, msg, player);
|
botAI->HandleCommand(type, msg, player);
|
||||||
player->ResetSpeakTimers();
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -142,7 +141,6 @@ class PlayerbotsPlayerScript : public PlayerScript
|
|||||||
if (PlayerbotAI* botAI = GET_PLAYERBOT_AI(member))
|
if (PlayerbotAI* botAI = GET_PLAYERBOT_AI(member))
|
||||||
{
|
{
|
||||||
botAI->HandleCommand(type, msg, player);
|
botAI->HandleCommand(type, msg, player);
|
||||||
player->ResetSpeakTimers();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user