Core/Unit: Remove a superfluous threat state update in SetPhaseMask.

Port From (https://github.com/TrinityCore/TrinityCore/commit/14bda72751a1164af055ec04e4f4c928df4c3e65)
This commit is contained in:
hondacrx
2021-06-23 13:32:27 -04:00
parent f7e09403ec
commit 047121b31b
-4
View File
@@ -1182,11 +1182,7 @@ namespace Game.Entities
public void OnPhaseChange()
{
if (!IsInWorld)
return;
if (IsTypeId(TypeId.Unit) || !ToPlayer().GetSession().PlayerLogout())
m_threatManager.UpdateOnlineStates(true, true);
}
public uint GetModelForForm(ShapeShiftForm form, uint spellId)