diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-01-29 07:01:15 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-01-29 07:01:15 +0800 |
commit | 792431361378147d904b9a102ad7d47d08c1108a (patch) | |
tree | d3f782e3b194c6ee96e261649dffff2b2d7ca5a5 /features/dungeonSolvers | |
parent | 42b7d4ff248e3832c792d37034fad076861dac28 (diff) | |
download | SoopyV2-792431361378147d904b9a102ad7d47d08c1108a.tar.gz SoopyV2-792431361378147d904b9a102ad7d47d08c1108a.tar.bz2 SoopyV2-792431361378147d904b9a102ad7d47d08c1108a.zip |
pass compatability test (the compatability tests should be removed soon when i drop support for 1.3, [soon because im not curranately testing on 1.3 b4 release])
Diffstat (limited to 'features/dungeonSolvers')
-rw-r--r-- | features/dungeonSolvers/index.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js index c7eb329..b0ee2bc 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -331,8 +331,14 @@ class DungeonSolvers extends Feature { this.blazes = this.blazes.filter(e=>!e.getEntity()[f.isDead]) this.blazes.sort((a, b)=>a.getEntity().func_110143_aJ()-b.getEntity().func_110143_aJ()) - if(World.getBlockAt(this.blazeX+17, 18, this.blazeY+16).getType().getID() === 9){ - this.blazes = this.blazes.reverse() + if(World.getBlockAt(0,0,0).getID){ + if(World.getBlockAt(this.blazeX+17, 18, this.blazeY+16).getID() === 9){ + this.blazes = this.blazes.reverse() + } + }else{ + if(World.getBlockAt(this.blazeX+17, 18, this.blazeY+16).getType().getID() === 9){ + this.blazes = this.blazes.reverse() + } } } |