RanvierMUD / core

Core engine code for Ranvier
https://ranviermud.com
MIT License
45 stars 40 forks source link

Fix: Can now force character independence regardless of current following status. #54

Open markscho opened 5 years ago

markscho commented 5 years ago

Currently, if you want to ensure that character (NPC or Player) is not following anyone, you call the .unfollow() method. But this blows up if the character isn't currently following anyone.
Solution: Check to see if the character is currently following someone before attempting to perform standard unfollow procedures.

azigler commented 4 years ago

I added the early return in #121.