aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorMelanie2012-01-15 14:49:32 +0100
committerMelanie2012-01-15 14:49:32 +0100
commit068b8e1f9b3f754426e76e17cb926fc1cd5d9dad (patch)
tree6dab35dd705c972dd48bc6f1fa2f87a7696fc350 /OpenSim/Region/ScriptEngine/Shared/Api
parentFix merge (diff)
downloadopensim-SC-068b8e1f9b3f754426e76e17cb926fc1cd5d9dad.zip
opensim-SC-068b8e1f9b3f754426e76e17cb926fc1cd5d9dad.tar.gz
opensim-SC-068b8e1f9b3f754426e76e17cb926fc1cd5d9dad.tar.bz2
opensim-SC-068b8e1f9b3f754426e76e17cb926fc1cd5d9dad.tar.xz
Disable using an agent ID to clone NPCs. The griefing potential is too great
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 78c3fa0..c343e93 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -2116,13 +2116,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2116 { 2116 {
2117 AvatarAppearance appearance = null; 2117 AvatarAppearance appearance = null;
2118 2118
2119 UUID id; 2119// UUID id;
2120 if (UUID.TryParse(notecard, out id)) 2120// if (UUID.TryParse(notecard, out id))
2121 { 2121// {
2122 ScenePresence clonePresence = World.GetScenePresence(id); 2122// ScenePresence clonePresence = World.GetScenePresence(id);
2123 if (clonePresence != null) 2123// if (clonePresence != null)
2124 appearance = clonePresence.Appearance; 2124// appearance = clonePresence.Appearance;
2125 } 2125// }
2126 2126
2127 if (appearance == null) 2127 if (appearance == null)
2128 { 2128 {