diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 6b3df9d..1370b1f 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -371,7 +371,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
371 | } | 371 | } |
372 | 372 | ||
373 | // This is a hook to do some per-asset post-processing for subclasses that need that | 373 | // This is a hook to do some per-asset post-processing for subclasses that need that |
374 | ExportAsset(remoteClient.AgentId, assetID); | 374 | if (remoteClient != null) |
375 | ExportAsset(remoteClient.AgentId, assetID); | ||
375 | 376 | ||
376 | return assetID; | 377 | return assetID; |
377 | } | 378 | } |