mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Auras: fix elixir aura saving
This commit is contained in:
@@ -1013,8 +1013,8 @@ bool Aura::CanBeSaved() const
|
||||
if (IsUsingCharges() && !GetCharges())
|
||||
return false;
|
||||
|
||||
// don't save auras triggered by items, they'll be recasted on login if necessary
|
||||
if (GetCastItemGUID())
|
||||
// don't save permanent auras triggered by items, they'll be recasted on login if necessary
|
||||
if (GetCastItemGUID() && IsPermanent())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user