Skip to content

Commit

Permalink
Dont glow f/m4 minis (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
BigloBot authored Oct 21, 2024
1 parent c72fe86 commit b0f9efd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -199,4 +200,4 @@ private static void clearCache() {
canSeeCache.clear();
glowCache.clear();
}
}
}

0 comments on commit b0f9efd

Please sign in to comment.