Implement 26.3 bed sleeping
This commit is contained in:
@@ -407,6 +407,7 @@ def start_automation(global_state, initialize=True):
|
||||
g.yaw = float(g.get('yaw', 0.0) or 0.0)
|
||||
g.pitch = float(g.get('pitch', 0.0) or 0.0)
|
||||
g.holding_slot = g.get('holding_slot', 0)
|
||||
g.holding_hand = 0
|
||||
g.chunks.loading = False
|
||||
# Readiness below is based on nearby chunks, not unrelated view holes.
|
||||
g.movement_paused = False
|
||||
@@ -429,6 +430,8 @@ def start_automation(global_state, initialize=True):
|
||||
g.setdefault('item_lock', False)
|
||||
g.setdefault('minimum_cache_slots', 27)
|
||||
g.setdefault('holding_slot', 0)
|
||||
g.setdefault('holding_hand', 0)
|
||||
g.setdefault('time', 0.0)
|
||||
|
||||
old_stop = g.get('movement_stop_event')
|
||||
old_worker = g.get('movement_thread')
|
||||
|
||||
Reference in New Issue
Block a user