From 5282a82afee671471c5a5906e2ee5fb02853848f Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sat, 4 Jul 2020 17:01:35 -0400 Subject: [PATCH] fix: wait for sideload locales before server start (#1248) --- server/core/kernel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/kernel.js b/server/core/kernel.js index f1595a88..af22c902 100644 --- a/server/core/kernel.js +++ b/server/core/kernel.js @@ -32,10 +32,10 @@ module.exports = { async preBootMaster() { try { await this.initTelemetry() + WIKI.sideloader = await require('./sideloader').init() WIKI.cache = require('./cache').init() WIKI.scheduler = require('./scheduler').init() WIKI.servers = require('./servers') - WIKI.sideloader = require('./sideloader').init() WIKI.events = { inbound: new EventEmitter(), outbound: new EventEmitter()