Add a job to find enchanted golden apples

Esse commit está contido em:
2020-09-25 00:03:22 -06:00
commit 25ce916b43
10 arquivos alterados com 163 adições e 11 exclusões

4
bot.py
Ver Arquivo

@@ -156,6 +156,7 @@ def init(global_state):
g.dumping = None
g.item_lock = False
g.command_lock = False
g.window = None
@@ -193,8 +194,7 @@ def bot(global_state):
time.sleep(utils.TICK)
print('Player loaded.')
x, y, z = utils.pint(g.pos)
while (floor(x/16), floor(y/16), floor(z/16)) not in g.chunks.chunks:
while not g.chunks.check_loaded(g.pos):
time.sleep(utils.TICK)
print('Chunks loaded.')