Core/Gridnotifiers: Fix a possible crash in MessageDistDeliverer::SendPacket
Updates issue #5016 Please try to re-reproduce --HG-- branch : trunk
This commit is contained in:
@@ -146,7 +146,8 @@ namespace Trinity
|
|||||||
if (!plr->HaveAtClient(i_source))
|
if (!plr->HaveAtClient(i_source))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
plr->GetSession()->SendPacket(i_message);
|
if (WorldSession* session = plr->GetSession())
|
||||||
|
session->SendPacket(i_message);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user