mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
One more bug fix concerning library items that weren't being copied to user's inventory. Also commented verbose debug message.
This commit is contained in:
@@ -713,7 +713,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
newName = item.Name;
|
||||
}
|
||||
|
||||
if (remoteClient.AgentId == oldAgentID)
|
||||
if (remoteClient.AgentId == oldAgentID || (LibraryService != null && LibraryService.LibraryRootFolder != null && oldAgentID == LibraryService.LibraryRootFolder.Owner))
|
||||
{
|
||||
CreateNewInventoryItem(
|
||||
remoteClient, item.CreatorId, item.CreatorData, newFolderID, newName, item.Flags, callbackID, asset, (sbyte)item.InvType,
|
||||
|
||||
Reference in New Issue
Block a user