Disable using an agent ID to clone NPCs. The griefing potential is too great
parent
4cbf8d728e
commit
068b8e1f9b
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue