From e751755c9002158215c5dac72a804a94ebe6faf2 Mon Sep 17 00:00:00 2001 From: melchior Date: Fri, 27 Nov 2020 17:23:34 -0500 Subject: [PATCH] Events should attched after config data is loaded... --- Automap/Subsystems/AutomapSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Automap/Subsystems/AutomapSystem.cs b/Automap/Subsystems/AutomapSystem.cs index 1345f93..04db4c2 100644 --- a/Automap/Subsystems/AutomapSystem.cs +++ b/Automap/Subsystems/AutomapSystem.cs @@ -70,8 +70,9 @@ namespace Automap this.ClientAPI = clientAPI; this.Logger = logger; chunkSize = ClientAPI.World.BlockAccessor.ChunkSize; - ClientAPI.Event.LevelFinalize += EngageAutomap; + configuration = config; + ClientAPI.Event.LevelFinalize += EngageAutomap; this.ChunkRenderer = InstantiateChosenRenderer(config.RendererName); -- 2.11.0