Core/Items: Attempt to fix crash in Player::SplitItem caused by 6a44399852.

And some random cleanup
This commit is contained in:
kaelima
2012-01-18 06:07:30 +01:00
parent b754f7c91d
commit 819da8af4d
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ void LFGMgr::InitializeLockedDungeons(Player* player)
void LFGMgr::Join(Player* player, uint8 roles, const LfgDungeonSet& selectedDungeons, const std::string& comment)
{
if (!player || !player->GetSession() || selectedDungeons.empty())
return;
return;
Group* grp = player->GetGroup();
uint64 guid = player->GetGUID();