diff options
author | olim <bobq4582@gmail.com> | 2024-05-06 11:14:56 +0100 |
---|---|---|
committer | olim <bobq4582@gmail.com> | 2024-05-09 22:58:16 +0100 |
commit | b47ebd85b5ecb2c9b2adbbcd80f750ca15fd433e (patch) | |
tree | c1f85f586490264d22cef0c4371484892843e59a /src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsHud.java | |
parent | a01ebfa0b30c6d7c8bd31057d31062106bc52e39 (diff) | |
download | Skyblocker-b47ebd85b5ecb2c9b2adbbcd80f750ca15fd433e.tar.gz Skyblocker-b47ebd85b5ecb2c9b2adbbcd80f750ca15fd433e.tar.bz2 Skyblocker-b47ebd85b5ecb2c9b2adbbcd80f750ca15fd433e.zip |
rework to use labels instead of trying to use crystal waypoints
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsHud.java')
-rw-r--r-- | src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsHud.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsHud.java b/src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsHud.java index 34667d12..ff4a23b8 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsHud.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsHud.java @@ -21,7 +21,7 @@ import java.util.Map; public class CrystalsHud { private static final MinecraftClient CLIENT = MinecraftClient.getInstance(); - protected static final Identifier MAP_TEXTURE = new Identifier(SkyblockerMod.NAMESPACE, "textures/gui/crystals_map.png"); + protected static final Identifier MAP_TEXTURE = new Identifier(SkyblockerMod.NAMESPACE, "textures/gui/crystals_map.png"); private static final Identifier MAP_ICON = new Identifier("textures/map/decorations/player.png"); private static final List<String> SMALL_LOCATIONS = List.of("Fairy Grotto", "King Yolkar", "Corleone", "Odawa", "Key Guardian"); @@ -75,8 +75,8 @@ public class CrystalsHud { if (SkyblockerConfigManager.get().mining.crystalsHud.showLocations) { Map<String,CrystalsWaypoint> ActiveWaypoints = CrystalsLocationsManager.activeWaypoints; - for (MiningWaypoints waypoint : ActiveWaypoints.values()) { - Color waypointColor = waypoint.category.getColor(); + for (CrystalsWaypoint waypoint : ActiveWaypoints.values()) { + Color waypointColor = waypoint.category.color; Vector2ic renderPos = transformLocation(waypoint.pos.getX(), waypoint.pos.getZ()); int locationSize = SkyblockerConfigManager.get().mining.crystalsHud.locationSize; @@ -158,4 +158,4 @@ public class CrystalsHud { //get if the player is in the crystals visible = Utils.isInCrystalHollows(); } -} +}
\ No newline at end of file |