diff --git a/src/main/kotlin/com/mineinabyss/deeperworld/DeeperCommandExecutor.kt b/src/main/kotlin/com/mineinabyss/deeperworld/DeeperCommandExecutor.kt index 6f3e106..fed1fdc 100644 --- a/src/main/kotlin/com/mineinabyss/deeperworld/DeeperCommandExecutor.kt +++ b/src/main/kotlin/com/mineinabyss/deeperworld/DeeperCommandExecutor.kt @@ -39,7 +39,7 @@ class DeeperCommandExecutor : IdofrontCommandExecutor(), TabCompleter { ("deeperworld" / "dw") { "reload" { action { - deeperWorld.config = config("config.yml") { deeperWorld.fromPluginPath(loadDefault = true)} + deeperWorld.config = config("config") { deeperWorld.fromPluginPath(loadDefault = true)} } } "tp"(desc = "Enables or disables automatic teleports between sections for a player") { diff --git a/src/main/kotlin/com/mineinabyss/deeperworld/DeeperWorldPlugin.kt b/src/main/kotlin/com/mineinabyss/deeperworld/DeeperWorldPlugin.kt index 0d27827..ba31b25 100644 --- a/src/main/kotlin/com/mineinabyss/deeperworld/DeeperWorldPlugin.kt +++ b/src/main/kotlin/com/mineinabyss/deeperworld/DeeperWorldPlugin.kt @@ -33,7 +33,7 @@ class DeeperWorldPlugin : JavaPlugin() { } override fun onEnable() { - config = config("config.yml") { fromPluginPath(loadDefault = true)} + config = config("config") { fromPluginPath(loadDefault = true)} service(WorldManagerImpl()) service(PlayerManagerImpl())