aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/OpenSimMain.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs
index 9d0e6ae..21f4878 100644
--- a/OpenSim.RegionServer/OpenSimMain.cs
+++ b/OpenSim.RegionServer/OpenSimMain.cs
@@ -152,6 +152,8 @@ namespace OpenSim
152 AssetCache.LoadDefaultTextureSet(); 152 AssetCache.LoadDefaultTextureSet();
153 } 153 }
154 154
155 RegisterClientPacketHandlers();
156
155 m_console.WriteLine("Main.cs:Startup() - Initialising HTTP server"); 157 m_console.WriteLine("Main.cs:Startup() - Initialising HTTP server");
156 // HttpServer = new SimCAPSHTTPServer(GridServers.GridServer, Cfg.IPListenPort); 158 // HttpServer = new SimCAPSHTTPServer(GridServers.GridServer, Cfg.IPListenPort);
157 HttpServer = new BaseHttpServer(Cfg.IPListenPort); 159 HttpServer = new BaseHttpServer(Cfg.IPListenPort);
@@ -348,6 +350,11 @@ namespace OpenSim
348 LocalWorld.Update(); 350 LocalWorld.Update();
349 } 351 }
350 352
353 protected virtual void RegisterClientPacketHandlers()
354 {
355 SimClient.AddPacketHandler(PacketType.ModifyLand, LocalWorld.ModifyTerrain);
356 }
357
351 public void RunCmd(string command, string[] cmdparams) 358 public void RunCmd(string command, string[] cmdparams)
352 { 359 {
353 switch (command) 360 switch (command)