mirror of
https://github.com/mangosfour/server.git
synced 2025-12-31 04:37:04 +00:00
[11866] Fix battleground kick for inactive players. Close pull request #29
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
f5b94f00b5
commit
92dc57ec85
2 changed files with 7 additions and 1 deletions
|
|
@ -2509,6 +2509,12 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
|
||||
return;
|
||||
}
|
||||
case 43681: // Idle
|
||||
{
|
||||
if (m_removeMode == AURA_REMOVE_BY_EXPIRE && target->GetTypeId() == TYPEID_PLAYER)
|
||||
((Player*)target)->ToggleAFK();
|
||||
return;
|
||||
}
|
||||
case 43969: // Feathered Charm
|
||||
{
|
||||
// Steelfeather Quest Credit, Are there any requirements for this, like area?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue