Give llGiveInventory a way to querry Hypergrid visitors so network vendors are able to give items to Hg visitors
parent
0ea6977013
commit
375f8cce34
|
@ -4162,11 +4162,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
destId);
|
||||
|
||||
if (account == null)
|
||||
{
|
||||
GridUserInfo info = World.GridUserService.GetGridUserInfo(destId.ToString());
|
||||
if(info == null || info.Online == false)
|
||||
{
|
||||
Error("llGiveInventory", "Can't find destination '" + destId.ToString() + "'");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
// destination is an avatar
|
||||
string message;
|
||||
InventoryItemBase agentItem = World.MoveTaskInventoryItem(destId, UUID.Zero, m_host, objId, out message);
|
||||
|
|
Loading…
Reference in New Issue