diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs index 2c9fd3e657..0b0c5a404f 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs @@ -527,7 +527,7 @@ namespace OpenSim.Region.Environment.Scenes int type = m_items[itemID].InvType; if (type == 10) // Script { - m_part.ParentGroup.Scene.TriggerStopScript(m_part.LocalId, itemID); + m_part.ParentGroup.Scene.EventManager.TriggerStopScript(m_part.LocalId, itemID); } m_items.Remove(itemID); m_inventorySerial++;