geforkt von SteamWar/BungeeCore
No Discord on EventBungee
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
603f3a09bf
Commit
2f2584a6ae
@ -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) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren