aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-13 09:28:50 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-13 09:28:50 +0800
commit723f40ad15e9c3fa140188740a5dcf0c750cf9d2 (patch)
treec387ef9b90eadc130b6c580e644bdc4a92dffcbe /features
parent1b40181e13109519fca8eed462cdf850f004eed8 (diff)
downloadSoopyV2-723f40ad15e9c3fa140188740a5dcf0c750cf9d2.tar.gz
SoopyV2-723f40ad15e9c3fa140188740a5dcf0c750cf9d2.tar.bz2
SoopyV2-723f40ad15e9c3fa140188740a5dcf0c750cf9d2.zip
make assist blood camp not visable thru walls
Diffstat (limited to 'features')
-rw-r--r--features/dungeonSolvers/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js
index 3ab1814..eb14396 100644
--- a/features/dungeonSolvers/index.js
+++ b/features/dungeonSolvers/index.js
@@ -116,10 +116,10 @@ class DungeonSolvers extends Feature {
let startPoint = [skullE[f.posX.Entity], skullE[f.posY.Entity], skullE[f.posZ.Entity]]
let endPoint = [skullE[f.posX.Entity]+xSpeed2*time, skullE[f.posY.Entity]+ySpeed2*time, skullE[f.posZ.Entity]+zSpeed2*time]
let pingPoint = [skullE[f.posX.Entity]+xSpeed2*this.ping, skullE[f.posY.Entity]+ySpeed2*this.ping, skullE[f.posZ.Entity]+zSpeed2*this.ping]
- renderUtils.drawLine(startPoint[0], startPoint[1]+2, startPoint[2], endPoint[0], endPoint[1]+2, endPoint[2], 255, 0, 0, 2)
+ renderUtils.drawLine(startPoint[0], startPoint[1]+2, startPoint[2], endPoint[0], endPoint[1]+2, endPoint[2], 255, 0, 0, 2, false)
- renderUtils.drawBoxAtBlock(pingPoint[0]-0.5, pingPoint[1]+1, pingPoint[2]-0.5, 0, 255, 0)
- renderUtils.drawBoxAtBlock(endPoint[0]-0.5, endPoint[1]+1, endPoint[2]-0.5, 255, 0, 0)
+ renderUtils.drawBoxAtBlockNotVisThruWalls(pingPoint[0]-0.5, pingPoint[1]+1, pingPoint[2]-0.5, 0, 255, 0)
+ renderUtils.drawBoxAtBlockNotVisThruWalls(endPoint[0]-0.5, endPoint[1]+1, endPoint[2]-0.5, 255, 0, 0)
// if(this.eMovingThing[skull.getUUID().toString()] && this.eMovingThing[skull.getUUID().toString()].timeTook){
// Tessellator.drawString((time/1000).toFixed(3)+"s", endPoint[0], endPoint[1]+2, endPoint[2])