mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
give osTeleportObject proper OSFunctionThreatLevel setting on osslEnable.ini
This commit is contained in:
@@ -4644,13 +4644,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
/// </remarks>
|
||||
public void osTeleportObject(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer flags)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.Severe, "osTeleportAgent");
|
||||
CheckThreatLevel(ThreatLevel.Severe, "osTeleportObject");
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
UUID objUUID;
|
||||
if (!UUID.TryParse(objectUUID, out objUUID))
|
||||
{
|
||||
OSSLShoutError("osObjectTeleport() invalid object Key");
|
||||
OSSLShoutError("osTeleportObject() invalid object Key");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user