diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 98d4f3b..0b19e85 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -366,7 +366,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
366 | localID); | 366 | localID); |
367 | 367 | ||
368 | TaskInventoryItem item = | 368 | TaskInventoryItem item = |
369 | part.GetInventoryItem(itemID); | 369 | part.Inventory.GetInventoryItem(itemID); |
370 | 370 | ||
371 | ScenePresence presence = | 371 | ScenePresence presence = |
372 | m_Scene.GetScenePresence( | 372 | m_Scene.GetScenePresence( |
@@ -464,7 +464,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
464 | return false; | 464 | return false; |
465 | } | 465 | } |
466 | 466 | ||
467 | TaskInventoryItem item = part.GetInventoryItem(itemID); | 467 | TaskInventoryItem item = part.Inventory.GetInventoryItem(itemID); |
468 | if (item == null) | 468 | if (item == null) |
469 | return false; | 469 | return false; |
470 | 470 | ||