mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
do not send parcel environment changes to npcs
This commit is contained in:
@@ -917,7 +917,7 @@ namespace OpenSim.Region.CoreModules.World.LightShare
|
||||
|
||||
private void OnAvatarEnteringNewParcel(ScenePresence sp, int localLandID, UUID regionID)
|
||||
{
|
||||
if (sp.Environment != null)
|
||||
if (sp.Environment != null || sp.IsNPC)
|
||||
return;
|
||||
|
||||
if (!m_scene.RegionInfo.EstateSettings.AllowEnvironmentOverride)
|
||||
|
||||
Reference in New Issue
Block a user