aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs3
2 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 3016bbe..d8e3082 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1047,6 +1047,10 @@ namespace OpenSim.Region.CoreModules.World.Land
1047 /// <param name="remote_client">The object representing the client</param> 1047 /// <param name="remote_client">The object representing the client</param>
1048 public void SendParcelOverlay(IClientAPI remote_client) 1048 public void SendParcelOverlay(IClientAPI remote_client)
1049 { 1049 {
1050
1051 if (remote_client.SceneAgent.PresenceType == PresenceType.Npc)
1052 return;
1053
1050 const int LAND_BLOCKS_PER_PACKET = 1024; 1054 const int LAND_BLOCKS_PER_PACKET = 1024;
1051 1055
1052 byte[] byteArray = new byte[LAND_BLOCKS_PER_PACKET]; 1056 byte[] byteArray = new byte[LAND_BLOCKS_PER_PACKET];
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index 7de6365..29c2234 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -244,6 +244,9 @@ namespace OpenSim.Region.CoreModules.World.Land
244 244
245 public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client) 245 public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client)
246 { 246 {
247 if (remote_client.SceneAgent.PresenceType == PresenceType.Npc)
248 return;
249
247 IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); 250 IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>();
248 uint regionFlags = 336723974 & ~((uint)(RegionFlags.AllowLandmark | RegionFlags.AllowSetHome)); 251 uint regionFlags = 336723974 & ~((uint)(RegionFlags.AllowLandmark | RegionFlags.AllowSetHome));
249 if (estateModule != null) 252 if (estateModule != null)