Make hologram trait update more frequently

This commit is contained in:
fullwall 2021-08-15 15:25:09 +08:00
parent ef1baf5679
commit 732716215e

View File

@ -188,7 +188,7 @@ public class HologramTrait extends Trait {
}
}
boolean update = currentLoc.getWorld() != npc.getStoredLocation().getWorld()
|| currentLoc.distanceSquared(npc.getStoredLocation()) >= 0.01;
|| currentLoc.distance(npc.getStoredLocation()) >= 0.001;
if (update) {
currentLoc = npc.getStoredLocation();
}