mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-16 02:10:28 +00:00
Fix GetTargetIcons calls (thanks xuanfeng66)
This commit is contained in:
@@ -41,7 +41,7 @@ Unit* RtiTargetValue::Calculate()
|
||||
if (index == -1)
|
||||
return nullptr;
|
||||
|
||||
ObjectGuid guid = group->GetTargetIcon(index);
|
||||
ObjectGuid guid = group->GetTargetIcons()[index];
|
||||
if (!guid)
|
||||
return nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user