From 46c2fd28691f3be2207445b44ff6d839ba9d17c6 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Fri, 8 Apr 2022 20:03:11 +0800 Subject: changes --- 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 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){ -- cgit