From 24a76758c234b4e68fbe6639395b0601d5ab7f3d Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 20 May 2026 18:21:18 +0200 Subject: [PATCH] lol --- server/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/plugins.js b/server/plugins.js index d008456..1365037 100644 --- a/server/plugins.js +++ b/server/plugins.js @@ -80,8 +80,8 @@ if (process.platform === 'win32') { const pluginConfigs = []; readJSFiles(pluginsDir).forEach(file => { - const dir = fs.statSync(filePath).isDirectory(); var filePath = path.join(pluginsDir, file); + const dir = fs.statSync(filePath).isDirectory(); if(dir) filePath = path.join(pluginsDir, file, file); const config = parsePluginConfig(filePath);