mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make all
the internals of the permissions module adapter sane
This commit is contained in:
@@ -599,7 +599,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
public virtual void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position,
|
||||
Vector3 lookAt, uint teleportFlags)
|
||||
{
|
||||
if (!avatar.Scene.ExternalChecks.ExternalChecksCanTeleport(avatar.UUID))
|
||||
if (!avatar.Scene.Permissions.CanTeleport(avatar.UUID))
|
||||
return;
|
||||
|
||||
bool destRegionUp = false;
|
||||
|
||||
Reference in New Issue
Block a user