diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Eventstream.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Eventstream.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Eventstream.cs b/OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Eventstream.cs index 9112b9c..dab7a0a 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Eventstream.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Eventstream.cs | |||
@@ -55,14 +55,13 @@ namespace OpenSim.Region.ScriptEngine.XEngine.AsyncCommandPlugins | |||
55 | public void AddObjectEvent(uint localID, string eventName, XDetectParams det) | 55 | public void AddObjectEvent(uint localID, string eventName, XDetectParams det) |
56 | { | 56 | { |
57 | SceneObjectPart part = m_CmdManager.m_ScriptEngine.World. | 57 | SceneObjectPart part = m_CmdManager.m_ScriptEngine.World. |
58 | GetSceneObjectPart(localID); | 58 | GetSceneObjectPart(localID); |
59 | 59 | ||
60 | if(part == null) // Can't register events for non-prims | 60 | if (part == null) // Can't register events for non-prims |
61 | return; | 61 | return; |
62 | 62 | ||
63 | if(!part.ContainsScripts()) | 63 | if (!part.ContainsScripts()) |
64 | return; | 64 | return; |
65 | |||
66 | } | 65 | } |
67 | 66 | ||
68 | public void RemoveObjectEvent(uint localID, string eventName, LLUUID id) | 67 | public void RemoveObjectEvent(uint localID, string eventName, LLUUID id) |