Ref https://github.com/TrinityCore/TrinityCore/commit/441c126002c2f0518ee0c7cafa6453c3f16bec3f (cherry picked from commit 31e7516b83aa84685b1f1cbbce2eb3bb24695585)
Ref https://github.com/TrinityCore/TrinityCore/commit/441c126002c2f0518ee0c7cafa6453c3f16bec3f (cherry picked from commit 31e7516b83aa84685b1f1cbbce2eb3bb24695585)