From f29594f1c6407cdf782ea5d4510e23567b013a00 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 5 Jun 2022 10:47:22 +0800 Subject: + metal detector waypoints --- utils/renderUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/renderUtils.js b/utils/renderUtils.js index 00b1c41..6ddb143 100644 --- a/utils/renderUtils.js +++ b/utils/renderUtils.js @@ -342,7 +342,7 @@ let ret = { ret[phase ? "drawBoxAtBlock" : "drawBoxAtBlockNotVisThruWalls"](x - 0.005, y - 0.005, z - 0.005, r, g, b, 1.01, 1.01, alpha) ret.drawFilledBox(x + 0.5, y, z + 0.5, 1.02, 1.01, r, g, b, 0.25 * alpha, phase) - renderBeaconBeam2(x, y + 1, z, r, g, b, Math.min(1, Math.max(0, (distToPlayerSq - 25) / 100)) * alpha, true) + renderBeaconBeam2(x, y + 1, z, r, g, b, Math.min(1, Math.max(0, (distToPlayerSq - 25) / 100)) * alpha, !phase) if (name || showDist) { let distToPlayer = Math.sqrt(distToPlayerSq) -- cgit