diff options
Temporary fix for the object taking bug
Diffstat (limited to 'OpenSim.RegionServer/PacketServer.cs')
-rw-r--r-- | OpenSim.RegionServer/PacketServer.cs | 13 |
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 |