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

Closes #29391
This commit is contained in:
Shauren
2023-10-27 20:10:20 +02:00
parent 858c393d07
commit 64a14f13ac
+3
View File
@@ -7925,6 +7925,9 @@ MountCapabilityEntry const* Unit::GetMountCapability(uint32 mountType) const
void Unit::UpdateMountCapability()
{
if (IsLoading())
return;
AuraEffectVector mounts = CopyAuraEffectList(GetAuraEffectsByType(SPELL_AURA_MOUNTED));
for (AuraEffect* aurEff : mounts)
{