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