From 5ee0fa576f05faa7c92b26e81dd9dd4031487061 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 24 Feb 2021 18:52:53 -0500 Subject: [PATCH] Core/Players: Always clear old action bars on specialization change, even if new specialization doesn't have anything on its bars Port From (https://github.com/TrinityCore/TrinityCore/commit/428fbcb133555b12f45cde64c6db4c1da5f766ea) --- Source/Game/Entities/Player/Player.DB.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Game/Entities/Player/Player.DB.cs b/Source/Game/Entities/Player/Player.DB.cs index 594fe3caf..de25e6780 100644 --- a/Source/Game/Entities/Player/Player.DB.cs +++ b/Source/Game/Entities/Player/Player.DB.cs @@ -638,8 +638,7 @@ namespace Game.Entities } void LoadActions(SQLResult result) { - if (!result.IsEmpty()) - _LoadActions(result); + _LoadActions(result); SendActionButtons(1); }