Fix random bugs

This commit is contained in:
2021-02-22 01:44:55 +00:00
parent 1fe35c77fc
commit 743d002167
3 changed files with 20 additions and 13 deletions

3
bot.py
View File

@@ -206,6 +206,7 @@ def init(global_state):
g.command_lock = False
g.window = None
g.trades = []
g.job = jobs.JobStates(g)
g.chopped_tree = False
@@ -246,7 +247,7 @@ def bot(global_state):
time.sleep(utils.TICK)
print('Player loaded.')
while not g.chunks.check_loaded(g.pos, 529):
while not g.chunks.check_loaded(g.pos, 288):
time.sleep(utils.TICK)
print('Chunks loaded.')