mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Remove casting nastiness in LSL_Api
This commit is contained in:
@@ -329,6 +329,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
/// </param>
|
||||
protected void AddInventoryItem(string name, TaskInventoryItem item)
|
||||
{
|
||||
name = FindAvailableInventoryName(name);
|
||||
if (name == String.Empty)
|
||||
return;
|
||||
|
||||
item.ParentID = UUID;
|
||||
item.ParentPartID = UUID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user