mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +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?
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11865"
|
||||
#define REVISION_NR "11866"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue