mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
change CanObjectEntry() to use a SOG
This commit is contained in:
@@ -2620,7 +2620,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||
{
|
||||
// FIXME: It would be better to never add the scene object at all rather than add it and then delete
|
||||
// it
|
||||
if (!Scene.Permissions.CanObjectEntry(so.UUID, true, so.AbsolutePosition))
|
||||
if (!Scene.Permissions.CanObjectEntry(so, true, so.AbsolutePosition))
|
||||
{
|
||||
// Deny non attachments based on parcel settings
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user