mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 15:27:47 -04: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