Skip to content

Commit

Permalink
fix: run saveDefaultConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky3028 committed Sep 3, 2022
1 parent 11e9b39 commit f11bc40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/click/seichi/timetogo/presenter/TimeToGo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class TimeToGo extends JavaPlugin {
TimeToGo.instance = this

override def onEnable(): Unit = {
saveDefaultConfig()

Bukkit.getPluginManager.registerEvents(PlayerLoginListener, this)

this.task = SetPlayerGameMode.runTaskTimer(this, 0L, 20 * 60L)
Expand Down

0 comments on commit f11bc40

Please sign in to comment.