mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Remove the event trigger for the attach event from the attachment module.
The script engine already triggers this internally.
This commit is contained in:
@@ -241,7 +241,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||
objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3);
|
||||
|
||||
// Do this last so that event listeners have access to all the effects of the attachment
|
||||
m_scene.EventManager.TriggerOnAttach(objatt.LocalId, itemID, remoteClient.AgentId);
|
||||
//m_scene.EventManager.TriggerOnAttach(objatt.LocalId, itemID, remoteClient.AgentId);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user