Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureAaron committed Jan 12, 2025
1 parent 149119e commit 38ea4ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ public record SlotText(@NotNull Text text, @NotNull TextPosition position) {
public static final int CREAM = 0xFFDDC1;
public static final int GOLD = 0xE5B80B;
public static final int LIGHT_BLUE = 0xCFF8F8;
public static final int LIGHT_ORANGE = 0xfab387;
public static final int LIGHT_YELLOW = 0xf9e2af;
public static final int LIGHT_PURPLE = 0xcba6f7;
public static final int LIGHT_ORANGE = 0xFAB387;
public static final int LIGHT_YELLOW = 0xF9E2AF;
public static final int LIGHT_PURPLE = 0xCBA6F7;
public static final int LIGHT_RED = 0xFF7276;
public static final int LIGHT_GREEN = 0x90ee90;
public static final int MID_BLUE = 0x74c7ec;
public static final int LIGHT_GREEN = 0x90EE90;
public static final int MID_BLUE = 0x74C7EC;
public static final int WHITE = 0xFFFFFF;

public static SlotText bottomLeft(@NotNull Text text) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class HotmPerkLevelAdder extends SimpleSlotTextAdder {
private static final ConfigInformation CONFIG_INFORMATION = new ConfigInformation(
"hotm_perk_level",
"skyblocker.config.uiAndVisuals.slotText.hotmPerkLevel");
private static final Pattern LEVEL = Pattern.compile("Level (?<level>\\d+)\\/(?<max>\\d+)");
private static final Pattern LEVEL = Pattern.compile("Level (?<level>\\d+)/(?<max>\\d+)");

public HotmPerkLevelAdder() {
super("^Heart of the Mountain$", CONFIG_INFORMATION);
Expand All @@ -28,7 +28,7 @@ public HotmPerkLevelAdder() {
@Override
@NotNull
public List<SlotText> getText(@Nullable Slot slot, @NotNull ItemStack stack, int slotId) {
if (slotId >= 0 && slotId <= 53 && !stack.isOf(Items.COAL)) {
if (slotId >= 0 && slotId <= 44 && !stack.isOf(Items.COAL)) {
List<Text> lore = ItemUtils.getLore(stack);

if (!lore.isEmpty()) {
Expand Down

0 comments on commit 38ea4ce

Please sign in to comment.