mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
Continue to update paused in lookclose
This commit is contained in:
parent
735a947475
commit
eb10e76ca7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user