aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/PacketServer.cs
diff options
context:
space:
mode:
authorMW2007-04-03 13:37:11 +0000
committerMW2007-04-03 13:37:11 +0000
commit56e6587c9f3ff9b8b9e48ff20a21244b739e2081 (patch)
tree4ef13347d53989281c8d554be8102f4227bcf3df /OpenSim.RegionServer/PacketServer.cs
parentOpenSim no longer uses OpenSim.Config.SimConfigDb4o, it now uses OpenSim.Gene... (diff)
downloadopensim-SC_OLD-56e6587c9f3ff9b8b9e48ff20a21244b739e2081.zip
opensim-SC_OLD-56e6587c9f3ff9b8b9e48ff20a21244b739e2081.tar.gz
opensim-SC_OLD-56e6587c9f3ff9b8b9e48ff20a21244b739e2081.tar.bz2
opensim-SC_OLD-56e6587c9f3ff9b8b9e48ff20a21244b739e2081.tar.xz
Temporary fix for the object taking bug
Diffstat (limited to 'OpenSim.RegionServer/PacketServer.cs')
-rw-r--r--OpenSim.RegionServer/PacketServer.cs13
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim.RegionServer/PacketServer.cs b/OpenSim.RegionServer/PacketServer.cs
index a02fa36..f0a1f52 100644
--- a/OpenSim.RegionServer/PacketServer.cs
+++ b/OpenSim.RegionServer/PacketServer.cs
@@ -51,11 +51,14 @@ namespace OpenSim
51 51
52 public virtual void RegisterClientPacketHandlers() 52 public virtual void RegisterClientPacketHandlers()
53 { 53 {
54 SimClient.AddPacketHandler(PacketType.ModifyLand, _localWorld.ModifyTerrain); 54 if (this._localWorld != null)
55 SimClient.AddPacketHandler(PacketType.ChatFromViewer, _localWorld.SimChat); 55 {
56 SimClient.AddPacketHandler(PacketType.RezObject, _localWorld.RezObject); 56 SimClient.AddPacketHandler(PacketType.ModifyLand, _localWorld.ModifyTerrain);
57 SimClient.AddPacketHandler(PacketType.DeRezObject, _localWorld.DeRezObject); 57 SimClient.AddPacketHandler(PacketType.ChatFromViewer, _localWorld.SimChat);
58 SimClient.AddPacketHandler(PacketType.UUIDNameRequest, this.RequestUUIDName); 58 SimClient.AddPacketHandler(PacketType.RezObject, _localWorld.RezObject);
59 SimClient.AddPacketHandler(PacketType.DeRezObject, _localWorld.DeRezObject);
60 SimClient.AddPacketHandler(PacketType.UUIDNameRequest, this.RequestUUIDName);
61 }
59 } 62 }
60 63
61 #region Client Packet Handlers 64 #region Client Packet Handlers