Skip to content

Commit

Permalink
Merge pull request #625 from AzureAaron/ordered-waypoints
Browse files Browse the repository at this point in the history
Ordered Waypoints
  • Loading branch information
AzureAaron authored Apr 6, 2024
2 parents bbf544b + 9d7f6ae commit eadb318
Show file tree
Hide file tree
Showing 6 changed files with 515 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/main/java/de/hysky/skyblocker/SkyblockerMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import de.hysky.skyblocker.skyblock.tabhud.util.PlayerListMgr;
import de.hysky.skyblocker.skyblock.waypoint.FairySouls;
import de.hysky.skyblocker.skyblock.waypoint.MythologicalRitual;
import de.hysky.skyblocker.skyblock.waypoint.OrderedWaypoints;
import de.hysky.skyblocker.skyblock.waypoint.Relics;
import de.hysky.skyblocker.utils.ApiUtils;
import de.hysky.skyblocker.utils.NEURepoManager;
Expand Down Expand Up @@ -109,6 +110,7 @@ public void onInitializeClient() {
FairySouls.init();
Relics.init();
MythologicalRitual.init();
OrderedWaypoints.init();
BackpackPreview.init();
QuickNav.init();
ItemCooldowns.init();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private static int customizeDyeColor(FabricClientCommandSource source, String he
return Command.SINGLE_SUCCESS;
}

private static boolean isHexadecimalColor(String s) {
public static boolean isHexadecimalColor(String s) {
return s.replace("#", "").chars().allMatch(c -> "0123456789ABCDEFabcdef".indexOf(c) >= 0) && s.replace("#", "").length() == 6;
}
}
Loading

0 comments on commit eadb318

Please sign in to comment.