Fix #13351

Fix by Malcrom

fixes: https://github.com/TrinityCore/TrinityCore/issues/13351