Prevent exception if inventory item in llGiveInventory() call doesn't exist.
parent
3a643e2456
commit
321816b32c
|
@ -4138,6 +4138,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