mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Don't save Call Stabled Pet aura on player save, since it is impossible to open the stable dialog when player is loaded.
--HG-- branch : trunk
This commit is contained in:
@@ -749,6 +749,10 @@ bool Aura::CanBeSaved() const
|
||||
if (HasEffectType(SPELL_AURA_CONVERT_RUNE))
|
||||
return false;
|
||||
|
||||
// No point in saving this, since the stable dialog can't be open on aura load anyway.
|
||||
if (HasEffectType(SPELL_AURA_OPEN_STABLE))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user