Core/Pet: Make pet action bar autocast persist properly
Port From (https://github.com/TrinityCore/TrinityCore/commit/885e172f4d29710a47f003c58b4d9c24edf8cc8a)
This commit is contained in:
@@ -1235,7 +1235,7 @@ namespace Game.Entities
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if remove last rank or non-ranked then update action bar at server and client if need
|
// if remove last rank or non-ranked then update action bar at server and client if need
|
||||||
if (GetCharmInfo().RemoveSpellFromActionBar(spellId) && !learnPrev && clearActionBar)
|
if (clearActionBar && !learnPrev && GetCharmInfo().RemoveSpellFromActionBar(spellId))
|
||||||
{
|
{
|
||||||
if (!m_loading)
|
if (!m_loading)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user