Prevent exception if inventory item in llGiveInventory() call doesn't exist.
parent
d0ed6ed86e
commit
9a42589837
|
@ -4104,6 +4104,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
if (item == null)
|
||||
{
|
||||
Error("llGiveInventory", "Can't find inventory object '" + inventory + "'");
|
||||
return;
|
||||
}
|
||||
|
||||
UUID objId = item.ItemID;
|
||||
|
|
Loading…
Reference in New Issue