Stop hacked godmode from being able to actually move other people's

attachments
0.6.1-post-fixes
Melanie Thielker 2008-12-18 13:33:48 +00:00
parent a66657f155
commit 98d0d728c2
1 changed files with 4 additions and 0 deletions

View File

@ -533,6 +533,10 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
{ {
permission = true; permission = true;
} }
else if(group.IsAttachment)
{
permission = false;
}
// Users should be able to edit what is over their land. // Users should be able to edit what is over their land.
ILandObject parcel = m_scene.LandChannel.GetLandObject(group.AbsolutePosition.X, group.AbsolutePosition.Y); ILandObject parcel = m_scene.LandChannel.GetLandObject(group.AbsolutePosition.X, group.AbsolutePosition.Y);