1
0

No Discord on EventBungee

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");
if(discordFile.exists()) {
if(discordFile.exists() && !EVENT_MODE) {
try {
SteamwarDiscordBotConfig.loadConfig(ConfigurationProvider.getProvider(YamlConfiguration.class).load(discordFile));
} catch (IOException e) {