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:
@@ -844,6 +844,9 @@ namespace Game.Entities
|
||||
|
||||
public void UpdateMountCapability()
|
||||
{
|
||||
if (IsLoading())
|
||||
return;
|
||||
|
||||
var mounts = GetAuraEffectsByType(AuraType.Mounted);
|
||||
foreach (AuraEffect aurEff in mounts.ToArray())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user