Solves https://github.com/TrinityCore/TrinityCore/issues/18386 (cherry picked from commit 023eec874a124a8752c27e5925cfe39508d04485)
Solves https://github.com/TrinityCore/TrinityCore/issues/18386 (cherry picked from commit 023eec874a124a8752c27e5925cfe39508d04485)