Changeset 406 for binary-improvements2/MapRendering
- Timestamp:
- Feb 22, 2023, 5:48:50 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/src/ModApi.cs
r402 r406 7 7 public class ModApi : IModApi { 8 8 public void InitMod (Mod _modInstance) { 9 ModEvents.GameShutdown.RegisterHandler (GameShutdown); 10 ModEvents.CalcChunkColorsDone.RegisterHandler (CalcChunkColorsDone); 11 9 if (ConnectionManager.Instance.IsServer) { 10 ModEvents.GameShutdown.RegisterHandler (GameShutdown); 11 ModEvents.CalcChunkColorsDone.RegisterHandler (CalcChunkColorsDone); 12 } 13 12 14 Web.ServerInitialized += _web => { 13 15 _web.RegisterPathHandler ("/map/", new StaticHandler (
Note:
See TracChangeset
for help on using the changeset viewer.