Detect being forced to wake up

This commit is contained in:
2021-04-25 00:59:43 +00:00
parent d69f9cf09e
commit 650398255b
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -206,8 +206,8 @@ def tick(global_state):
packet = serverbound.play.PositionAndLookPacket(x=p.x, feet_y=p.y, z=p.z, pitch=g.pitch, yaw=g.yaw, on_ground=(not in_air))
g.connection.write_packet(packet)
g.game.tick()
g.job.tick()
g.game.tick() # order important for correction_count
def init(global_state):