mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-26 04:25:15 +01:00
Merge pull request #1338 from DoctaEnkoda/patch-3
Convert Database Async
This commit is contained in:
commit
94a61fdab9
@ -1,5 +1,6 @@
|
||||
package com.gamingmesh.jobs.commands.list;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
@ -21,7 +22,7 @@ public class convert implements Cmd {
|
||||
return true;
|
||||
}
|
||||
|
||||
Jobs.convertDatabase();
|
||||
Bukkit.getScheduler().runTaskAsynchronously(plugin, Jobs::convertDatabase);
|
||||
|
||||
String from = "MySQL";
|
||||
String to = "SQLite";
|
||||
|
Loading…
Reference in New Issue
Block a user