diff options
Diffstat (limited to 'OpenSim/Region/Modules')
-rw-r--r-- | OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs index 0ee8848..7b1211f 100644 --- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -300,7 +300,8 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
300 | { | 300 | { |
301 | LLUUID assetId; | 301 | LLUUID assetId; |
302 | 302 | ||
303 | InventoryItemBase baseItem = profile.RootFolder.HasItem(wear.ItemID); | 303 | InventoryItemBase baseItem = profile.RootFolder.FindItem(wear.ItemID); |
304 | |||
304 | if (baseItem != null) | 305 | if (baseItem != null) |
305 | { | 306 | { |
306 | assetId = baseItem.AssetID; | 307 | assetId = baseItem.AssetID; |