diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-05 10:47:22 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-05 10:47:22 +0800 |
commit | f29594f1c6407cdf782ea5d4510e23567b013a00 (patch) | |
tree | 209d82d1dc94789418b0a133e6903bd9dc33c394 /utils/renderUtils.js | |
parent | bc3e2d89ee5ecaf598aa7f7bc862cf29b852671e (diff) | |
download | SoopyV2-f29594f1c6407cdf782ea5d4510e23567b013a00.tar.gz SoopyV2-f29594f1c6407cdf782ea5d4510e23567b013a00.tar.bz2 SoopyV2-f29594f1c6407cdf782ea5d4510e23567b013a00.zip |
+ metal detector waypoints
Diffstat (limited to 'utils/renderUtils.js')
-rw-r--r-- | utils/renderUtils.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) |