Skip to content

Commit a913ff8

Browse files
authored
feat: Reload commands frequently (#59) [ci skip]
1 parent 8237ee3 commit a913ff8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/work/msdnicrosoft/commandbuttons/data/ConfigManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ private static void saveToFile() {
4242
CommandButtonsReference.getLogger().error("Cannot write commands data: ", e);
4343
CommandButtonsReference.getLogger().warn("Data: {}", string);
4444
}
45+
46+
loadFromFile();
4547
}
4648

4749
private static void loadFromFile() {

0 commit comments

Comments
 (0)