mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Fix message in the wrong spot
Signed-off-by: BuildTools <[email protected]>
This commit is contained in:
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, () -> {
|
||||
|
||||
Reference in new issue
Block a user