diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-12-29 03:11:32 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-12-29 03:11:32 +0100 |
commit | 628791fab1c0878c221301579978097f3928d793 (patch) | |
tree | a5916843baf5d25a6a0d7a58c950b69cdfddd6a2 /src/main/java/at/hannibal2/skyhanni/features/slayer | |
parent | 03c08b1dfa364c21a1118fdfeeea2f4cfa04481e (diff) | |
download | skyhanni-628791fab1c0878c221301579978097f3928d793.tar.gz skyhanni-628791fab1c0878c221301579978097f3928d793.tar.bz2 skyhanni-628791fab1c0878c221301579978097f3928d793.zip |
fixed void slayer mini bosses not being detected and colored
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/slayer')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/EndermanSlayerBeacon.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/HighlightSlayerMiniboss.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/EndermanSlayerBeacon.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/EndermanSlayerBeacon.kt index 1776c272e..e79157ed9 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/EndermanSlayerBeacon.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/EndermanSlayerBeacon.kt @@ -71,7 +71,7 @@ class EndermanSlayerBeacon { endermenWithBeacons.map { it.getLorenzVec().add(-0.5, 0.2, -0.5) } .forEach { event.drawColor(it, LorenzColor.DARK_RED, alpha = 1f) } - for (location in sittingBeacon) { + for (location in sittingBeacon.toMutableList()) { event.drawColor(location, LorenzColor.DARK_RED, alpha = 1f) event.drawString(location.add(0.5, 0.5, 0.5), "ยง4Beacon", true) } diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/HighlightSlayerMiniboss.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/HighlightSlayerMiniboss.kt index 55a66ee14..d52287250 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/HighlightSlayerMiniboss.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/HighlightSlayerMiniboss.kt @@ -50,7 +50,7 @@ class HighlightSlayerMiniboss { }) list.addAll(entityList.filterIsInstance<EntityEnderman>().filter { - it.hasMaxHealth(12_000_000) || it.hasMaxHealth(25_000_000) + it.hasMaxHealth(12_000_000) || it.hasMaxHealth(17_500_000) || it.hasMaxHealth(52_500_000) }) list.addAll(entityList.filterIsInstance<EntityBlaze>().filter { |