3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 21:10:10 +01:00

Fix placement of scheduler tick

Dieser Commit ist enthalten in:
tahg 2011-08-07 00:45:56 -03:00
Ursprung bb89847632
Commit effc6c8559

Datei anzeigen

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