double Ooopss

0.9.1.0-post-fixes
UbitUmarov 2018-10-20 02:06:05 +01:00
parent 0611d3339b
commit f01e4600d1
2 changed files with 2 additions and 2 deletions

View File

@ -3881,7 +3881,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (attachmentsModule == null) if (attachmentsModule == null)
return; return;
if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) != 0) if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_ATTACH) == 0)
return; return;
SceneObjectGroup grp = m_host.ParentGroup; SceneObjectGroup grp = m_host.ParentGroup;

View File

@ -127,7 +127,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
public void llAttachToAvatarTemp(LSL_Integer attachment) public void llAttachToAvatarTemp(LSL_Integer attachment)
{ {
m_LSL_Functions.llAttachToAvatar(attachment); m_LSL_Functions.llAttachToAvatarTemp(attachment);
} }
public LSL_Key llAvatarOnSitTarget() public LSL_Key llAvatarOnSitTarget()