mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Cause inventory to be fetched on scripted item gives if the destination
avatar is remote or offline.
This commit is contained in:
@@ -1065,6 +1065,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
"Avatar {0} cannot be found to add item",
|
||||
avatarId);
|
||||
}
|
||||
if (!profile.HasReceivedInventory)
|
||||
CommsManager.UserProfileCacheService.RequestInventoryForUser(avatarId);
|
||||
InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(avatarId, part, itemId);
|
||||
|
||||
if (agentItem == null)
|
||||
|
||||
Reference in New Issue
Block a user