Ref https://github.com/TrinityCore/TrinityCore/commit/2c7e921cdc14527bd99d6976793e69999f262f9d Closes #20200