Skip to content

Commit

Permalink
Fixes samolego#87
Browse files Browse the repository at this point in the history
Done from phone, hopefully builds :)
  • Loading branch information
samolego authored Mar 28, 2022
1 parent 4e15afd commit 7e4edff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ public void tick() {
}
}
}
if(!players.isEmpty() || this.lastLookTarget != null) {
if(!players.isEmpty()) {
// We tick forced look here, as we already have players list.
if(this.npcData.movement == NPCData.Movement.FORCED_LOOK) {
if (this.lastLookTarget == null || this.distanceTo(this.lastLookTarget) > 5.0D) {
Expand Down

0 comments on commit 7e4edff

Please sign in to comment.