From 792431361378147d904b9a102ad7d47d08c1108a Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 29 Jan 2022 07:01:15 +0800 Subject: 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]) --- features/dungeonSolvers/index.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'features/dungeonSolvers') 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() + } } } -- cgit