SteamWar/BungeeCore
Archiviert
13
2

No Discord on EventBungee
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-03-04 11:55:58 +01:00
Ursprung 603f3a09bf
Commit 2f2584a6ae

Datei anzeigen

@ -340,7 +340,7 @@ public class BungeeCore extends Plugin {
} }
File discordFile = new File(System.getProperty("user.home"), "discord.yml"); File discordFile = new File(System.getProperty("user.home"), "discord.yml");
if(discordFile.exists()) { if(discordFile.exists() && !EVENT_MODE) {
try { try {
SteamwarDiscordBotConfig.loadConfig(ConfigurationProvider.getProvider(YamlConfiguration.class).load(discordFile)); SteamwarDiscordBotConfig.loadConfig(ConfigurationProvider.getProvider(YamlConfiguration.class).load(discordFile));
} catch (IOException e) { } catch (IOException e) {