mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 21:47:55 +01:00
Fixed the Bukkit Scheduler.
This commit is contained in:
parent
9934dd8561
commit
036f49ddbf
@ -379,9 +379,11 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
|||||||
EntityPlayer entityplayer = (EntityPlayer) this.serverConfigurationManager.players.get(i);
|
EntityPlayer entityplayer = (EntityPlayer) this.serverConfigurationManager.players.get(i);
|
||||||
entityplayer.netServerHandler.sendPacket(new Packet4UpdateTime(entityplayer.world.getTime()));
|
entityplayer.netServerHandler.sendPacket(new Packet4UpdateTime(entityplayer.world.getTime()));
|
||||||
}
|
}
|
||||||
// Craftbukkit end
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
((CraftScheduler) server.getScheduler()).mainThreadHeartbeat(this.ticks);
|
||||||
|
// Craftbukkit end
|
||||||
|
|
||||||
worldserver.doTick();
|
worldserver.doTick();
|
||||||
|
|
||||||
while (worldserver.doLighting()) {
|
while (worldserver.doLighting()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user