aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 029abf6..83f87d3 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -4105,7 +4105,15 @@ namespace OpenSim.Region.ScriptEngine.Common
4105 public string llGetInventoryCreator(string item) 4105 public string llGetInventoryCreator(string item)
4106 { 4106 {
4107 m_host.AddScriptLPS(1); 4107 m_host.AddScriptLPS(1);
4108 NotImplemented("llGetInventoryCreator"); 4108 foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory)
4109 {
4110 if (inv.Value.Name == item)
4111 {
4112 return inv.Value.CreatorID.ToString();
4113 }
4114 }
4115 llSay(0, "No item name '" + item + "'");
4116 //NotImplemented("llGetInventoryCreator");
4109 return String.Empty; 4117 return String.Empty;
4110 } 4118 }
4111 4119