Continue to update paused in lookclose

This commit is contained in:
fullwall 2023-05-29 23:40:53 +08:00
parent 735a947475
commit eb10e76ca7

View File

@ -295,7 +295,7 @@ public class LookClose extends Trait implements Toggleable {
npc.getEntity().getLocation(NPC_LOCATION);
findNewTarget();
if (npc.getNavigator().isNavigating()) {
if (npc.getNavigator().isNavigating() || npc.getNavigator().isPaused()) {
npc.getNavigator().setPaused(lookingAt != null);
}