Core/Server: Fix a spammy warning in WorldSession and move code to .cpp