From 7cf9b6183ef97d5eaf286ff1d1b0f683c17261a4 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 24 Aug 2020 11:14:54 -0400 Subject: [PATCH] Core/Pet: Make pet action bar autocast persist properly Port From (https://github.com/TrinityCore/TrinityCore/commit/885e172f4d29710a47f003c58b4d9c24edf8cc8a) --- Source/Game/Entities/Pet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Entities/Pet.cs b/Source/Game/Entities/Pet.cs index bac41b19e..a3d219277 100644 --- a/Source/Game/Entities/Pet.cs +++ b/Source/Game/Entities/Pet.cs @@ -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 (GetCharmInfo().RemoveSpellFromActionBar(spellId) && !learnPrev && clearActionBar) + if (clearActionBar && !learnPrev && GetCharmInfo().RemoveSpellFromActionBar(spellId)) { if (!m_loading) {