Fix startup errors introduced with https://github.com/TrinityCore/TrinityCore/commit/83efabefe896146cf6d55d0341abed2a47c7459f (cherry picked from commit bea174e998e205e16449605b7da116c1ca0a46bb)
Fix startup errors introduced with https://github.com/TrinityCore/TrinityCore/commit/83efabefe896146cf6d55d0341abed2a47c7459f (cherry picked from commit bea174e998e205e16449605b7da116c1ca0a46bb)