geforkt von Mirrors/Paper
Fix placement of scheduler tick
Dieser Commit ist enthalten in:
Ursprung
bb89847632
Commit
effc6c8559
@ -425,6 +425,8 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
|||||||
Vec3D.a();
|
Vec3D.a();
|
||||||
++this.ticks;
|
++this.ticks;
|
||||||
|
|
||||||
|
((CraftScheduler) this.server.getScheduler()).mainThreadHeartbeat(this.ticks);
|
||||||
|
|
||||||
for (j = 0; j < this.worlds.size(); ++j) { // CraftBukkit
|
for (j = 0; j < this.worlds.size(); ++j) { // CraftBukkit
|
||||||
// if (j == 0 || this.propertyManager.getBoolean("allow-nether", true)) { // CraftBukkit
|
// if (j == 0 || this.propertyManager.getBoolean("allow-nether", true)) { // CraftBukkit
|
||||||
WorldServer worldserver = this.worlds.get(j); // 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
|
// CraftBukkit end
|
||||||
|
|
||||||
worldserver.doTick();
|
worldserver.doTick();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren