improved fix

This commit is contained in:
Aokromes
2018-04-06 07:49:59 +02:00
parent ffc5e87f3d
commit 4da3cbf3aa
3 changed files with 7 additions and 3 deletions

View File

@@ -1025,7 +1025,6 @@ bool Aura::CanBeSaved() const
case 44413: // Incanter's Absorption
case 40075: // Fel Flak Fire
case 55849: // Power Spark
case 57634: // Magma
return false;
}
@@ -1041,6 +1040,11 @@ bool Aura::CanBeSaved() const
if (GetCastItemGUID() && IsPermanent())
return false;
// don't save liquid auras
for (LiquidTypeEntry const* liquid : sLiquidTypeStore)
if (liquid->SpellId && liquid->SpellId == GetId())
return false;
return true;
}