Recalculate the path finder when the player exchanges its body
This commit is contained in:
parent
7ad2cad77c
commit
f8ca5b2cc5
|
@ -173,4 +173,6 @@ class BodySnatchPotion(Item):
|
|||
player=self.held_by.translated_name.capitalize(),
|
||||
entity=entity.translated_name))
|
||||
|
||||
self.held_by.recalculate_paths()
|
||||
|
||||
self.held_by.inventory.remove(self)
|
||||
|
|
Loading…
Reference in New Issue