diff options
-rw-r--r-- | OpenSim/Region/Communications/Hypergrid/HGUserServices.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs index 7352e2d..68a9076 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs | |||
@@ -67,7 +67,8 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
67 | public override void SetInventoryService(IInventoryService invService) | 67 | public override void SetInventoryService(IInventoryService invService) |
68 | { | 68 | { |
69 | base.SetInventoryService(invService); | 69 | base.SetInventoryService(invService); |
70 | m_localUserServices.SetInventoryService(invService); | 70 | if (m_localUserServices != null) |
71 | m_localUserServices.SetInventoryService(invService); | ||
71 | } | 72 | } |
72 | 73 | ||
73 | public override UUID AddUser( | 74 | public override UUID AddUser( |