Core/Players: Don't update mount capability while loading from db - auras are loaded before all known spell sources are processed

Port From (https://github.com/TrinityCore/TrinityCore/commit/64a14f13ace1f6c7ac2aedc90ad2b48f57a3920c)
This commit is contained in:
hondacrx
2024-02-02 09:42:46 -05:00
parent ad4aa7df0c
commit 80f4ece2e5
@@ -844,6 +844,9 @@ namespace Game.Entities
public void UpdateMountCapability()
{
if (IsLoading())
return;
var mounts = GetAuraEffectsByType(AuraType.Mounted);
foreach (AuraEffect aurEff in mounts.ToArray())
{