From 5362e5a593eb3968a492186761c6c394c220cef8 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 24 Jun 2021 14:08:25 -0400 Subject: [PATCH] Add explainitory comment Signed-off-by: Sebastian Malton --- src/main/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/index.ts b/src/main/index.ts index fb6cbd4add..abef1e44da 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -128,6 +128,12 @@ app.on("ready", async () => { PrometheusProviderRegistry.createInstance(); initializers.initPrometheusProviderRegistry(); + + /** + * The following sync MUST be done before HotbarStore creation, because that + * store has migrations that will remove items that previous migrations add + * if this is not presant + */ syncGeneralEntities(); logger.info("💾 Loading stores");