aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-08 20:03:11 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-08 20:03:11 +0800
commit46c2fd28691f3be2207445b44ff6d839ba9d17c6 (patch)
treeb3b8ca22654191617ff8bea569c9e94e121c88fd /utils
parent63e7b19f1c7d1447a2c09be258b3aef69cf00450 (diff)
downloadSoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.tar.gz
SoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.tar.bz2
SoopyV2-46c2fd28691f3be2207445b44ff6d839ba9d17c6.zip
changes
Diffstat (limited to 'utils')
-rw-r--r--utils/renderUtils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/renderUtils.js b/utils/renderUtils.js
index c437254..4398b19 100644
--- a/utils/renderUtils.js
+++ b/utils/renderUtils.js
@@ -341,7 +341,7 @@ let ret = {
let alpha = Math.min(1,Math.max(0,1-(distToPlayerSq-10000)/12500))
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.02, r, g, b, 0.25*alpha, phase)
+ ret.drawFilledBox(x+0.5, y, z+0.5, 1.02, 1.01, r, g, b, 0.25*alpha, phase)
ret.renderBeaconBeam(x, y+1, z, r, g, b, Math.min(1,Math.max(0,(distToPlayerSq-25)/100))*alpha, false)
if(name || showDist){