Skip to content

Commit

Permalink
SaveTask: fix period time
Browse files Browse the repository at this point in the history
  • Loading branch information
NONPLAYT committed Sep 24, 2023
1 parent ce586f3 commit 2982d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/gq/bxteam/ndailyrewards/tasks/SaveTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ public void start() {
public void run() {
SaveTask.this.plugin.getUserManager().autosave();
}
}.runTaskTimer(NDailyRewards.getInstance(), 0L, Config.data_save * 60L * 1000L).getTaskId();
}.runTaskTimer(NDailyRewards.getInstance(), 0L, Config.data_save * 1200L).getTaskId();
}
}
2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Modrinth: https://modrinth.com/plugin/ndailyrewards

data:
auto-save: 15
auto-save: 15 # Specified in minutes
storage:
type: SQLite
username: none
Expand Down

0 comments on commit 2982d5d

Please sign in to comment.