mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fix placement of scheduler tick
This commit is contained in:
parent
bb89847632
commit
effc6c8559
@ -425,6 +425,8 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
||||
Vec3D.a();
|
||||
++this.ticks;
|
||||
|
||||
((CraftScheduler) this.server.getScheduler()).mainThreadHeartbeat(this.ticks);
|
||||
|
||||
for (j = 0; j < this.worlds.size(); ++j) { // CraftBukkit
|
||||
// if (j == 0 || this.propertyManager.getBoolean("allow-nether", true)) { // CraftBukkit
|
||||
WorldServer worldserver = this.worlds.get(j); // CraftBukkit
|
||||
@ -437,7 +439,6 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
||||
}
|
||||
}
|
||||
|
||||
((CraftScheduler) this.server.getScheduler()).mainThreadHeartbeat(this.ticks);
|
||||
// CraftBukkit end
|
||||
|
||||
worldserver.doTick();
|
||||
|
Loading…
Reference in New Issue
Block a user