diff options
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index ce46043..a859826 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -444,10 +444,17 @@ namespace OpenSim.Region.Communications.OGS1 | |||
444 | /// <returns></returns> | 444 | /// <returns></returns> |
445 | public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position) | 445 | public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position) |
446 | { | 446 | { |
447 | if (this.listeners.ContainsKey(regionHandle)) | 447 | try |
448 | { | 448 | { |
449 | this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position); | 449 | if (this.listeners.ContainsKey(regionHandle)) |
450 | return true; | 450 | { |
451 | this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position); | ||
452 | return true; | ||
453 | } | ||
454 | } | ||
455 | catch (System.Runtime.Remoting.RemotingException e) | ||
456 | { | ||
457 | MainLog.Instance.Error("Remoting Error: Unable to connect to remote region.\n" + e.ToString()); | ||
451 | } | 458 | } |
452 | return false; | 459 | return false; |
453 | } | 460 | } |