Skip to content

Commit

Permalink
Make hologram trait update more frequently
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Aug 15, 2021
1 parent ef1baf5 commit 7327162
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -188,7 +188,7 @@ public void run() {
}
}
boolean update = currentLoc.getWorld() != npc.getStoredLocation().getWorld()
|| currentLoc.distanceSquared(npc.getStoredLocation()) >= 0.01;
|| currentLoc.distance(npc.getStoredLocation()) >= 0.001;
if (update) {
currentLoc = npc.getStoredLocation();
}
Expand Down

0 comments on commit 7327162

Please sign in to comment.