mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 17:08:23 +01:00
[8103] More wide use IsInWorld checks and delayed at teleport operations. Author: Ambal
* IsInWorld used to prevent return unexpected not in world objects.
* Delayed operations need to process its in world state.
--HG--
branch : trunk
This commit is contained in:
@@ -967,7 +967,7 @@ void Group::SendUpdate()
|
||||
|
||||
void Group::UpdatePlayerOutOfRange(Player* pPlayer)
|
||||
{
|
||||
if(!pPlayer)
|
||||
if(!pPlayer || !pPlayer->IsInWorld())
|
||||
return;
|
||||
|
||||
Player *player;
|
||||
|
||||
Reference in New Issue
Block a user