aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 043d337..466b20a 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -410,7 +410,14 @@ namespace OpenSim.Region.Environment.Scenes
410 RegisterToEvents(); 410 RegisterToEvents();
411 SetDirectionVectors(); 411 SetDirectionVectors();
412 412
413 m_scene.LandChannel.SendLandUpdate(this, true); 413 try
414 {
415 m_scene.LandChannel.SendLandUpdate(this, true);
416 } //BUG: Mike - please fix this.
417 catch (KeyNotFoundException)
418 {
419 m_log.Warn("[LAND]: Bug triggered with NPC. LandModule needs a refactor to fix this.");
420 }
414 } 421 }
415 422
416 public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, byte[] visualParams, 423 public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, byte[] visualParams,