Prevent exception if inventory item in llGiveInventory() call doesn't exist.

This commit is contained in:
Kevin Cozens
2014-08-18 16:00:49 -04:00
parent 3a643e2456
commit 321816b32c

View File

@@ -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;