Sleep 0.1 s after failing to pathfind to prevent timeouts
This commit is contained in:
@@ -69,6 +69,7 @@ class SellToVillagerStates:
|
||||
self.state = self.going_to_villager
|
||||
else:
|
||||
self.openings.pop(0)
|
||||
time.sleep(0.1)
|
||||
|
||||
def going_to_villager(self):
|
||||
if utils.pint(self.g.pos) == self.openings[0]:
|
||||
|
||||
Reference in New Issue
Block a user