Make bot look where he's going while trading
This commit is contained in:
parent
3c31c41acd
commit
f7400a1225
|
@ -88,6 +88,7 @@ class SellToVillagerStates:
|
||||||
if navpath:
|
if navpath:
|
||||||
self.g.path = navpath
|
self.g.path = navpath
|
||||||
self.state = self.going_to_villager
|
self.state = self.going_to_villager
|
||||||
|
self.g.look_at = None
|
||||||
else:
|
else:
|
||||||
self.openings.pop(0)
|
self.openings.pop(0)
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user