Give slightly more leeway for lookclose range

This commit is contained in:
fullwall 2023-07-08 21:43:23 +08:00
parent 94a798ca45
commit 8c35505444
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ public class LookClose extends Trait implements Toggleable {
}
}
} else {
double min = range;
double min = Double.MAX_VALUE;
Location npcLoc = npc.getStoredLocation();
for (Player player : getNearbyPlayers()) {
double dist = player.getLocation().distance(npcLoc);