Fix message in the wrong spot

Signed-off-by: BuildTools <[email protected]>
This commit is contained in:
BuildTools committed 2021-07-08 02:24:31 +03:00
1 parent f589ffe6ea
commit 4756a3e32a
1 file changed
+1 -1
@@ -19,9 +19,9 @@ public class UpgradeDatabase {
Bukkit.getScheduler().runTaskAsynchronously(plugin, () -> {
try (PreparedStatement statement = HuskHomes.getConnection().prepareStatement("ALTER TABLE " + HuskHomes.getSettings().getPlayerDataTable() + " ADD `is_ignoring_requests` boolean NOT NULL DEFAULT 0")) {
statement.executeUpdate();
plugin.getLogger().info("Database update complete!");
} catch (SQLException e) {
plugin.getLogger().log(Level.SEVERE, "An SQL exception occurred upgrading the database format!", e);
plugin.getLogger().info("Database update complete!");
} finally {
// Update the config file version
Bukkit.getScheduler().runTask(plugin, () -> {