- Path Smoothing:
- Something many people have noticed is the NPC's when traversing a path at 45-degree angles will have their heads look back and forth. I have been working at this for a while to clean up, but it's a mix. Citizens seem's to look based on the path that it is navigating internally. With that said, I added some code in to validate the distance and angle between points in the navigation plan. If you debug the path, you will notice that it removes up to 10 blocks at a time if the path is in a line even at different angles. This gives the NPC a slightly smoother look when walking. It's the best I can do at this moment.
- Initial startup locations
- As many of you have been painfully aware, there was a bug that caused the NPC's to not sit, lay down, farm, etc.. if the location they are at is the same as it was when the server stopped. This has been resolved, so if you have a single location with the NPC set to sleep, it's been resolved. The way I changed it, should not break any other plugins that people have written for this. If so please let me know and I can review more.