Core/Scripts: Fix for issue 882 https://github.com/TrinityCore/TrinityCore/i...

...ssues/882#issuecomment-57065326