diff --git a/velocity/src/main/java/me/william278/husksync/HuskSyncVelocity.java b/velocity/src/main/java/me/william278/husksync/HuskSyncVelocity.java index 130419fd..8ed9bfa7 100644 --- a/velocity/src/main/java/me/william278/husksync/HuskSyncVelocity.java +++ b/velocity/src/main/java/me/william278/husksync/HuskSyncVelocity.java @@ -12,7 +12,7 @@ import com.velocitypowered.api.proxy.ProxyServer; import me.william278.husksync.migrator.MPDBMigrator; import me.william278.husksync.proxy.data.DataManager; import me.william278.husksync.redis.RedisMessage; -import me.william278.husksync.velocity.VelocityUpdateChecker; +import me.william278.husksync.velocity.util.VelocityUpdateChecker; import me.william278.husksync.velocity.command.VelocityCommand; import me.william278.husksync.velocity.config.ConfigLoader; import me.william278.husksync.velocity.config.ConfigManager; @@ -180,6 +180,7 @@ public class HuskSyncVelocity { } } + // Close database connections dataManager.closeDatabases(); // Log to console diff --git a/velocity/src/main/java/me/william278/husksync/velocity/command/VelocityCommand.java b/velocity/src/main/java/me/william278/husksync/velocity/command/VelocityCommand.java index 818de9a7..d8898d1c 100644 --- a/velocity/src/main/java/me/william278/husksync/velocity/command/VelocityCommand.java +++ b/velocity/src/main/java/me/william278/husksync/velocity/command/VelocityCommand.java @@ -12,7 +12,7 @@ import me.william278.husksync.migrator.MPDBMigrator; import me.william278.husksync.proxy.command.HuskSyncCommand; import me.william278.husksync.redis.RedisMessage; import me.william278.husksync.util.MessageManager; -import me.william278.husksync.velocity.VelocityUpdateChecker; +import me.william278.husksync.velocity.util.VelocityUpdateChecker; import me.william278.husksync.velocity.config.ConfigLoader; import me.william278.husksync.velocity.config.ConfigManager; diff --git a/velocity/src/main/java/me/william278/husksync/velocity/VelocityUpdateChecker.java b/velocity/src/main/java/me/william278/husksync/velocity/util/VelocityUpdateChecker.java similarity index 91% rename from velocity/src/main/java/me/william278/husksync/velocity/VelocityUpdateChecker.java rename to velocity/src/main/java/me/william278/husksync/velocity/util/VelocityUpdateChecker.java index 2e8992c1..f7c55c81 100644 --- a/velocity/src/main/java/me/william278/husksync/velocity/VelocityUpdateChecker.java +++ b/velocity/src/main/java/me/william278/husksync/velocity/util/VelocityUpdateChecker.java @@ -1,4 +1,4 @@ -package me.william278.husksync.velocity; +package me.william278.husksync.velocity.util; import me.william278.husksync.HuskSyncVelocity; import me.william278.husksync.util.UpdateChecker;