Core/Group: implement automatic party/raid leader change when the leader has been offline for two minutes
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc141e9bad5dc06a56179f820670bd6944651804)
This commit is contained in:
@@ -861,6 +861,8 @@ namespace Game
|
||||
{
|
||||
group.SendUpdate();
|
||||
group.ResetMaxEnchantingLevel();
|
||||
if (group.GetLeaderGUID() == pCurrChar.GetGUID())
|
||||
group.StopLeaderOfflineTimer();
|
||||
}
|
||||
|
||||
// friend status
|
||||
|
||||
Reference in New Issue
Block a user