mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
protect getting the item
This commit is contained in:
@@ -508,8 +508,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
if (m_items.ContainsKey(itemId))
|
||||
{
|
||||
TaskInventoryItem it = m_items[itemId];
|
||||
m_items.LockItemsForRead(false);
|
||||
CreateScriptInstance(m_items[itemId], startParam, postOnRez, engine, stateSource);
|
||||
|
||||
CreateScriptInstance(it, startParam, postOnRez, engine, stateSource);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user