From 8699c2b3b9f1e15d61ff3ca1cb8ba9cce1198b86 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 7 Nov 2008 23:08:51 +0000 Subject: * Correct catch changed on last commit, since I just realized I started making it catch a little too much, in principle --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index d217946..5e3396c 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -3186,7 +3186,7 @@ namespace OpenSim.Region.Environment.Scenes if (att.ParentGroup != null && !att.IsAttachment) m_scene.AttachObject(ControllingClient, att.ParentGroup.LocalId, (uint)0, att.ParentGroup.GroupRotation, Vector3.Zero); } - catch + catch (NullReferenceException) { } } -- cgit v1.1