mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 19:35:41 +08:00
* refactor: Rip out SOP inventory from the partial into a separate class
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
This commit is contained in:
@@ -366,7 +366,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
localID);
|
||||
|
||||
TaskInventoryItem item =
|
||||
part.GetInventoryItem(itemID);
|
||||
part.Inventory.GetInventoryItem(itemID);
|
||||
|
||||
ScenePresence presence =
|
||||
m_Scene.GetScenePresence(
|
||||
@@ -464,7 +464,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
return false;
|
||||
}
|
||||
|
||||
TaskInventoryItem item = part.GetInventoryItem(itemID);
|
||||
TaskInventoryItem item = part.Inventory.GetInventoryItem(itemID);
|
||||
if (item == null)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user