Fix a minor economy issue
parent
30d3e8a13e
commit
3b76d7bbb6
|
@ -91,6 +91,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
|
||||||
if (part.ParentGroup.IsDeleted)
|
if (part.ParentGroup.IsDeleted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (part.OwnerID != client.AgentId && (!m_scene.Permissions.IsGod(client.AgentId)))
|
||||||
|
return;
|
||||||
|
|
||||||
part = part.ParentGroup.RootPart;
|
part = part.ParentGroup.RootPart;
|
||||||
|
|
||||||
part.ObjectSaleType = saleType;
|
part.ObjectSaleType = saleType;
|
||||||
|
@ -258,4 +261,4 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue