juliarn / npc-lib

Asynchronous, high-performance Minecraft NPC library for 1.8-1.21 servers.
MIT License
296 stars 50 forks source link

bugfix for LOOK_AT_PLAYER #108

Closed DasBabyPixel closed 1 year ago

DasBabyPixel commented 1 year ago

In the current version the npc doesn't look at the player as long as the player doesn't change his orientation. This allows the player to move around without touching the mouse to "freeze" the npc orientation. This PR fixes that bug with an entire line of code.