mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
fix(core/dbc): improve ChrRace DBC handling (#14843)
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508 Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
This commit is contained in:
@@ -3643,7 +3643,7 @@ class spell_item_recall : public SpellScript
|
||||
}
|
||||
|
||||
TeamId bgTeam = player->GetBgTeamId();
|
||||
if (player->GetTeamId(true) != bgTeam)
|
||||
if (player->GetTeamId() != bgTeam)
|
||||
{
|
||||
if (SpellTargetPosition const* recallSpellTarget = sSpellMgr->GetSpellTargetPosition(bgTeam == TEAM_HORDE ? SPELL_RECALL_HORDE : SPELL_RECALL_ALLIANCE, EFFECT_0))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user