Disable using an agent ID to clone NPCs. The griefing potential is too great

avinationmerge
Melanie 2012-01-15 14:49:32 +01:00
parent 4cbf8d728e
commit 068b8e1f9b
1 changed files with 7 additions and 7 deletions

View File

@ -2116,13 +2116,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
AvatarAppearance appearance = null;
UUID id;
if (UUID.TryParse(notecard, out id))
{
ScenePresence clonePresence = World.GetScenePresence(id);
if (clonePresence != null)
appearance = clonePresence.Appearance;
}
// UUID id;
// if (UUID.TryParse(notecard, out id))
// {
// ScenePresence clonePresence = World.GetScenePresence(id);
// if (clonePresence != null)
// appearance = clonePresence.Appearance;
// }
if (appearance == null)
{