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