Core/Players: Send only values update when turning gm mode on or accepting quests instead of recreating the object clientside
This commit is contained in:
@@ -22238,7 +22238,7 @@ void Player::UpdateTriggerVisibility()
|
||||
if (!obj || !(obj->isTrigger() || obj->HasAuraType(SPELL_AURA_TRANSFORM))) // can transform into triggers
|
||||
continue;
|
||||
|
||||
obj->BuildCreateUpdateBlockForPlayer(&udata, this);
|
||||
obj->BuildValuesUpdateBlockForPlayer(&udata, this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23225,7 +23225,7 @@ void Player::UpdateForQuestWorldObjects()
|
||||
|
||||
if (buildUpdateBlock)
|
||||
{
|
||||
obj->BuildCreateUpdateBlockForPlayer(&udata, this);
|
||||
obj->BuildValuesUpdateBlockForPlayer(&udata, this);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user