diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs index 34e5305..d4346e4 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | |||
@@ -716,7 +716,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
716 | 716 | ||
717 | foreach (TaskInventoryItem item in m_taskInventory.Values) | 717 | foreach (TaskInventoryItem item in m_taskInventory.Values) |
718 | { | 718 | { |
719 | if (item.InvType == 6) | 719 | if (item.InvType == 6 && (item.CurrentPermissions & 7) != 0) |
720 | { | 720 | { |
721 | if ((item.CurrentPermissions & ((uint)PermissionMask.Copy >> 13)) == 0) | 721 | if ((item.CurrentPermissions & ((uint)PermissionMask.Copy >> 13)) == 0) |
722 | item.CurrentPermissions &= ~(uint)PermissionMask.Copy; | 722 | item.CurrentPermissions &= ~(uint)PermissionMask.Copy; |