Remove useless code

Former-commit-id: dd8f91ff73f2b2aeb7bcb959836675e7846e35ff
This commit is contained in:
Ghost_chu committed 2020-04-17 07:42:38 +08:00
1 parent adaa57bb73
commit 3125397980
1 file changed
-1
@@ -55,7 +55,6 @@ public class SubCommand_Convert implements CommandProcesser {
boolean useSSL = dbCfg.getBoolean("usessl");
DatabaseCore dbCore = new MySQLCore(plugin, Objects.requireNonNull(host, "MySQL host can't be null"), Objects.requireNonNull(user, "MySQL username can't be null"), Objects.requireNonNull(pass, "MySQL password can't be null"), Objects.requireNonNull(database, "MySQL database name can't be null"), Objects.requireNonNull(port, "MySQL port can't be null"), useSSL);
Database databaseManager = new Database(dbCore);
DatabaseHelper helper = new DatabaseHelper(plugin, databaseManager);
sender.sendMessage(ChatColor.GREEN + "Converting...");
this.transferShops(new DatabaseHelper(plugin, databaseManager), sender);
sender.sendMessage(ChatColor.GREEN + "All done, please edit config.yml to mysql to apply changes.");