diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index bfde64321c..2e8f5f7afe 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -562,7 +562,6 @@ namespace OpenSim.Region.Environment.Scenes SceneObjectGroup group = GetGroupByPrim(localID); if (group != null) { - // TODO: do we care about the value of this bool? group.AddInventoryItem(remoteClient, localID, item, copyID); group.StartScript(localID, copyID); group.GetProperites(remoteClient); diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs index 98cd3afbd6..c28278050c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs @@ -100,8 +100,8 @@ namespace OpenSim.Region.Environment.Scenes /// Start a script which is in this prim's inventory. /// /// - /// true if script asset was found, false if it wasn't - public bool StartScript(TaskInventoryItem item) + /// + public void StartScript(TaskInventoryItem item) { // MainLog.Instance.Verbose( // "PRIMINVENTORY", @@ -114,8 +114,6 @@ namespace OpenSim.Region.Environment.Scenes { string script = Helpers.FieldToUTF8String(rezAsset.Data); m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.item_id, script); - - return true; } else { @@ -124,8 +122,6 @@ namespace OpenSim.Region.Environment.Scenes "Couldn't start script {0}, {1} since asset ID {2} could not be found", item.name, item.item_id, item.asset_id); } - - return false; } ///