Minor refactoring and cleanup

feat/data-edit-commands
William 3 years ago
parent 635fefba3d
commit c081d38795

@ -12,7 +12,7 @@ import com.velocitypowered.api.proxy.ProxyServer;
import me.william278.husksync.migrator.MPDBMigrator; import me.william278.husksync.migrator.MPDBMigrator;
import me.william278.husksync.proxy.data.DataManager; import me.william278.husksync.proxy.data.DataManager;
import me.william278.husksync.redis.RedisMessage; 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.command.VelocityCommand;
import me.william278.husksync.velocity.config.ConfigLoader; import me.william278.husksync.velocity.config.ConfigLoader;
import me.william278.husksync.velocity.config.ConfigManager; import me.william278.husksync.velocity.config.ConfigManager;
@ -180,6 +180,7 @@ public class HuskSyncVelocity {
} }
} }
// Close database connections
dataManager.closeDatabases(); dataManager.closeDatabases();
// Log to console // Log to console

@ -12,7 +12,7 @@ import me.william278.husksync.migrator.MPDBMigrator;
import me.william278.husksync.proxy.command.HuskSyncCommand; import me.william278.husksync.proxy.command.HuskSyncCommand;
import me.william278.husksync.redis.RedisMessage; import me.william278.husksync.redis.RedisMessage;
import me.william278.husksync.util.MessageManager; 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.ConfigLoader;
import me.william278.husksync.velocity.config.ConfigManager; import me.william278.husksync.velocity.config.ConfigManager;

@ -1,4 +1,4 @@
package me.william278.husksync.velocity; package me.william278.husksync.velocity.util;
import me.william278.husksync.HuskSyncVelocity; import me.william278.husksync.HuskSyncVelocity;
import me.william278.husksync.util.UpdateChecker; import me.william278.husksync.util.UpdateChecker;
Loading…
Cancel
Save