mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
put back a check for null foldedperms
This commit is contained in:
@@ -2942,7 +2942,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
/// </summary>
|
||||
private void ApplyNextOwnerPermissions(InventoryItemBase item)
|
||||
{
|
||||
if (item.InvType == (int)InventoryType.Object)
|
||||
if (item.InvType == (int)InventoryType.Object && (item.CurrentPermissions & 7) != 0)
|
||||
{
|
||||
uint perms = item.CurrentPermissions;
|
||||
PermissionsUtil.ApplyFoldedPermissions(item.CurrentPermissions, ref perms);
|
||||
|
||||
Reference in New Issue
Block a user