mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 20:32:21 +01:00
Core/Misc: Fix compile.
Forgot to save file
This commit is contained in:
@@ -2282,7 +2282,7 @@ bool World::SendZoneMessage(uint32 zone, WorldPacket* packet, WorldSession* self
|
||||
|
||||
for (itr = m_sessions.begin(); itr != m_sessions.end(); ++itr)
|
||||
{
|
||||
if (itr->second)
|
||||
if (itr->second &&
|
||||
itr->second->GetPlayer() &&
|
||||
itr->second->GetPlayer()->IsInWorld() &&
|
||||
itr->second->GetPlayer()->GetZoneId() == zone &&
|
||||
|
||||
Reference in New Issue
Block a user