diff --git a/build.gradle b/build.gradle index a37f12e..c447c24 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ plugins { apply plugin: 'kotlin' group = 'gg.obsidian' -version = '1.7.0' +version = '1.7.1' description = """Bridge chat between Minecraft and Discord""" ext.url = 'https://github.com/the-obsidian/DiscordBridge' diff --git a/src/main/kotlin/gg/obsidian/discordbridge/Configuration.kt b/src/main/kotlin/gg/obsidian/discordbridge/Configuration.kt index 9b0d1b1..5110715 100644 --- a/src/main/kotlin/gg/obsidian/discordbridge/Configuration.kt +++ b/src/main/kotlin/gg/obsidian/discordbridge/Configuration.kt @@ -38,9 +38,9 @@ class Configuration(val plugin: Plugin) { SERVER_ID = plugin.config.getString("settings.server-id") CHANNEL = plugin.config.getString("settings.channel") USERNAME = plugin.config.getString("settings.username") - EMAIL = plugin.config.getString("settings.email") - PASSWORD = plugin.config.getString("settings.password") - TOKEN = plugin.config.getString("settings.token") + EMAIL = plugin.config.getString("settings.email", "") + PASSWORD = plugin.config.getString("settings.password", "") + TOKEN = plugin.config.getString("settings.token", "") DEBUG = plugin.config.getBoolean("settings.debug", false) RELAY_CANCELLED_MESSAGES = plugin.config.getBoolean("settings.relay_cancelled_messages", true)