Use the main scheduler

This commit is contained in:
themode 2022-03-16 06:58:01 +01:00
parent 1e58318a3a
commit 8cf598d290
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
// One or more chunks need to be loaded
final Thread runThread = Thread.currentThread();
CountDownLatch latch = new CountDownLatch(1);
Scheduler scheduler = scheduler();
Scheduler scheduler = MinecraftServer.getSchedulerManager();
CompletableFuture<Void> future = new CompletableFuture<>() {
@Override
public Void join() {