Fix random bugs
This commit is contained in:
3
bot.py
3
bot.py
@@ -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.')
|
||||
|
||||
|
Reference in New Issue
Block a user