From e306567ca50046b9103dbc902f9503602778a721 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 4 Mar 2022 23:46:00 +0100 Subject: [PATCH] Fix discord bot loading --- src/de/steamwar/bungeecore/BungeeCore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/BungeeCore.java b/src/de/steamwar/bungeecore/BungeeCore.java index b3be7cb..20b9b46 100644 --- a/src/de/steamwar/bungeecore/BungeeCore.java +++ b/src/de/steamwar/bungeecore/BungeeCore.java @@ -278,7 +278,7 @@ public class BungeeCore extends Plugin { config.getString("db.password") ); - if (config.getSection("discord") != null) { + if (config.contains("discord")) { SteamwarDiscordBotConfig.loadConfig(config.getSection("discord")); }