Skip to content

Commit

Permalink
Fixed database load
Browse files Browse the repository at this point in the history
  • Loading branch information
WaterArchery committed Oct 9, 2024
1 parent 9da9fef commit eb0fae2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/me/waterarchery/litsellchest/LitSellChest.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ else if (databaseType.equalsIgnoreCase("mysql")) {
return;
}

database.load();

long startTime = Date.from(Instant.now()).getTime();
int total = database.loadChests();
long finishTime = Date.from(Instant.now()).getTime();
Expand Down

0 comments on commit eb0fae2

Please sign in to comment.