aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index e0b6e5d..2b986be 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -2759,10 +2759,17 @@ namespace OpenSim.Region.ScriptEngine.Common
2759 llSay(0, "Could not find object " + inventory); 2759 llSay(0, "Could not find object " + inventory);
2760 } 2760 }
2761 2761
2762 public void llRemoveInventory(string item) 2762 public void llRemoveInventory(string name)
2763 { 2763 {
2764 m_host.AddScriptLPS(1); 2764 m_host.AddScriptLPS(1);
2765 NotImplemented("llRemoveInventory"); 2765 foreach (TaskInventoryItem item in m_host.TaskInventory.Values)
2766 {
2767 if (item.Name == name)
2768 {
2769 m_host.RemoveInventoryItem(item.ItemID);
2770 return;
2771 }
2772 }
2766 } 2773 }
2767 2774
2768 public void llSetText(string text, LSL_Types.Vector3 color, double alpha) 2775 public void llSetText(string text, LSL_Types.Vector3 color, double alpha)