do not allow setting land passes on group owned land, because currently we cant give money to the group
parent
74389c74cb
commit
025e82341f
|
@ -540,7 +540,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
|||
ParcelFlags.UseEstateVoiceChan);
|
||||
}
|
||||
|
||||
if (m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false))
|
||||
if (!newData.IsGroupOwned && m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId,this, GroupPowers.LandManagePasses, false))
|
||||
{
|
||||
newData.PassHours = args.PassHours;
|
||||
newData.PassPrice = args.PassPrice;
|
||||
|
|
Loading…
Reference in New Issue