mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -246,7 +246,8 @@ namespace lfg
|
||||
{
|
||||
// xinef: fixed dungeon deserter
|
||||
if (method != GROUP_REMOVEMETHOD_KICK_LFG && state != LFG_STATE_FINISHED_DUNGEON &&
|
||||
player->HasAura(LFG_SPELL_DUNGEON_COOLDOWN) && players >= LFG_GROUP_KICK_VOTES_NEEDED)
|
||||
player->HasAura(LFG_SPELL_DUNGEON_COOLDOWN) && players >= LFG_GROUP_KICK_VOTES_NEEDED &&
|
||||
sWorld->getBoolConfig(CONFIG_LFG_CAST_DESERTER))
|
||||
{
|
||||
player->AddAura(LFG_SPELL_DUNGEON_DESERTER, player);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user