Replaced DatabaseConversionTask scheduler

This commit is contained in:
Rockyers 2023-08-13 19:23:43 -07:00
parent 760e610226
commit 715f7217f9

View File

@ -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));
}
}