mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 14:16:45 +01:00
Replaced DatabaseConversionTask scheduler
This commit is contained in:
parent
760e610226
commit
715f7217f9
@ -21,6 +21,6 @@ public class DatabaseConversionTask extends BukkitRunnable {
|
||||
public void run() {
|
||||
sourceDatabase.convertUsers(mcMMO.getDatabaseManager());
|
||||
|
||||
mcMMO.p.getServer().getScheduler().runTask(mcMMO.p, () -> sender.sendMessage(message));
|
||||
mcMMO.p.getFoliaLib().getImpl().runNextTick(() -> sender.sendMessage(message));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user