diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index cb6ceb5..ddeac66 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -505,8 +505,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
505 | //variable will be set to null and attachment will | 505 | //variable will be set to null and attachment will |
506 | //not be included with the group notice. | 506 | //not be included with the group notice. |
507 | Scene scene = (Scene)remoteClient.Scene; | 507 | Scene scene = (Scene)remoteClient.Scene; |
508 | item = new InventoryItemBase(itemID, ownerID); | 508 | item = scene.InventoryService.GetItem(ownerID, itemID); |
509 | item = scene.InventoryService.GetItem(item); | ||
510 | 509 | ||
511 | if (item != null) | 510 | if (item != null) |
512 | { | 511 | { |