From eb0fae29b7db93fb8b61f9b17ae9068e21e23a55 Mon Sep 17 00:00:00 2001 From: Arda Date: Wed, 9 Oct 2024 15:04:51 +0300 Subject: [PATCH] Fixed database load --- src/main/java/me/waterarchery/litsellchest/LitSellChest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/me/waterarchery/litsellchest/LitSellChest.java b/src/main/java/me/waterarchery/litsellchest/LitSellChest.java index e2b2f8e..2554513 100644 --- a/src/main/java/me/waterarchery/litsellchest/LitSellChest.java +++ b/src/main/java/me/waterarchery/litsellchest/LitSellChest.java @@ -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();