Core/Unit: rename IsFocusing method

Port From (https://github.com/TrinityCore/TrinityCore/commit/be4ed9152c1a9c3dab9949eb36d867b763603f60)
This commit is contained in:
hondacrx
2022-01-02 19:25:23 -05:00
parent 32a3480c0f
commit 6ad0b6f159
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -3998,7 +3998,7 @@ namespace Game.Spells
{
Creature creatureCaster = unitCaster.ToCreature();
if (creatureCaster != null)
if (!creatureCaster.IsFocusing(this))
if (!creatureCaster.HandleSpellFocus(this))
creatureCaster.FocusTarget(this, Global.ObjAccessor.GetWorldObject(creatureCaster, target.TargetGUID));
}
}