Ref https://github.com/TrinityCore/TrinityCore/commit/9530ce4a2e140efe878a00e0ac1b904e9daa3882 (cherry picked from commit 0404e5ad6167fd6c223056c23ace135936bb80e0)
Ref https://github.com/TrinityCore/TrinityCore/commit/9530ce4a2e140efe878a00e0ac1b904e9daa3882 (cherry picked from commit 0404e5ad6167fd6c223056c23ace135936bb80e0)