Skip to content

Commit

Permalink
fix config typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Oct 3, 2022
1 parent e46df71 commit fb5a231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DeeperWorldPlugin : JavaPlugin() {
}

override fun onEnable() {
config = config("config.yml") { fromPluginPath(loadDefault = true)}
config = config("config") { fromPluginPath(loadDefault = true)}

service<WorldManager>(WorldManagerImpl())
service<PlayerManager>(PlayerManagerImpl())
Expand Down

0 comments on commit fb5a231

Please sign in to comment.