diff options
Diffstat (limited to 'utils')
-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 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){ |