diff --git a/src/main/java/de/hysky/skyblocker/skyblock/dungeon/puzzle/CreeperBeams.java b/src/main/java/de/hysky/skyblocker/skyblock/dungeon/puzzle/CreeperBeams.java index 73cd99c8ad..419ce85cb6 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/dungeon/puzzle/CreeperBeams.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/dungeon/puzzle/CreeperBeams.java @@ -32,6 +32,7 @@ public class CreeperBeams extends DungeonPuzzle { DyeColor.LIME.getColorComponents(), DyeColor.YELLOW.getColorComponents(), DyeColor.MAGENTA.getColorComponents(), + DyeColor.PINK.getColorComponents(), }; private static final float[] GREEN_COLOR_COMPONENTS = DyeColor.GREEN.getColorComponents(); @@ -155,7 +156,7 @@ private static ArrayList findLines(Vec3d creeperPos, ArrayList t ArrayList result = new ArrayList<>(); allLines.sort(Comparator.comparingDouble(ObjectDoublePair::rightDouble)); - while (result.size() < 4 && !allLines.isEmpty()) { + while (result.size() < 5 && !allLines.isEmpty()) { Beam solution = allLines.get(0).left(); result.add(solution); @@ -165,7 +166,7 @@ private static ArrayList findLines(Vec3d creeperPos, ArrayList t allLines.removeIf(beam -> solution.containsComponentOf(beam.left())); } - if (result.size() != 4) { + if (result.size() < 5) { LOGGER.error("Not enough solutions found. This is bad..."); }