aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index 98cd3af..c282780 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
100 /// Start a script which is in this prim's inventory. 100 /// Start a script which is in this prim's inventory.
101 /// </summary> 101 /// </summary>
102 /// <param name="item"></param> 102 /// <param name="item"></param>
103 /// <returns>true if script asset was found, false if it wasn't</returns> 103 /// <returns></returns>
104 public bool StartScript(TaskInventoryItem item) 104 public void StartScript(TaskInventoryItem item)
105 { 105 {
106// MainLog.Instance.Verbose( 106// MainLog.Instance.Verbose(
107// "PRIMINVENTORY", 107// "PRIMINVENTORY",
@@ -114,8 +114,6 @@ namespace OpenSim.Region.Environment.Scenes
114 { 114 {
115 string script = Helpers.FieldToUTF8String(rezAsset.Data); 115 string script = Helpers.FieldToUTF8String(rezAsset.Data);
116 m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.item_id, script); 116 m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.item_id, script);
117
118 return true;
119 } 117 }
120 else 118 else
121 { 119 {
@@ -124,8 +122,6 @@ namespace OpenSim.Region.Environment.Scenes
124 "Couldn't start script {0}, {1} since asset ID {2} could not be found", 122 "Couldn't start script {0}, {1} since asset ID {2} could not be found",
125 item.name, item.item_id, item.asset_id); 123 item.name, item.item_id, item.asset_id);
126 } 124 }
127
128 return false;
129 } 125 }
130 126
131 /// <summary> 127 /// <summary>