From b0f9efdfbf40942e50ed02fce1ea05ddb9c7000d Mon Sep 17 00:00:00 2001 From: BigloBot <95036804+BigloBot@users.noreply.github.com> Date: Mon, 21 Oct 2024 05:50:58 +0100 Subject: [PATCH] Dont glow f/m4 minis (#996) --- .../java/de/hysky/skyblocker/skyblock/entity/MobGlow.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java b/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java index dce8bb693c..f874643614 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/entity/MobGlow.java @@ -8,6 +8,7 @@ import de.hysky.skyblocker.skyblock.crimson.kuudra.Kuudra; import de.hysky.skyblocker.skyblock.crimson.slayer.AttunementColors; import de.hysky.skyblocker.skyblock.dungeon.LividColor; +import de.hysky.skyblocker.skyblock.dungeon.secrets.DungeonManager; import de.hysky.skyblocker.skyblock.end.TheEnd; import de.hysky.skyblocker.skyblock.slayers.SlayerEntitiesGlow; import de.hysky.skyblocker.utils.ItemUtils; @@ -85,7 +86,7 @@ private static boolean computeShouldMobGlow(Entity entity) { return switch (entity) { // Minibosses - case PlayerEntity p when name.equals("Lost Adventurer") || name.equals("Shadow Assassin") || name.equals("Diamond Guy") -> SkyblockerConfigManager.get().dungeons.starredMobGlow; + case PlayerEntity p when (name.equals("Lost Adventurer") || name.equals("Shadow Assassin") || name.equals("Diamond Guy")) && !DungeonManager.getBoss().isFloor(4) -> SkyblockerConfigManager.get().dungeons.starredMobGlow; case PlayerEntity p when entity.getId() == LividColor.getCorrectLividId() -> LividColor.shouldGlow(name); // Bats @@ -199,4 +200,4 @@ private static void clearCache() { canSeeCache.clear(); glowCache.clear(); } -} \ No newline at end of file +}