Skip to content

Commit

Permalink
push some minor local changes
Browse files Browse the repository at this point in the history
GrahamKracker committed Jan 24, 2025
1 parent 1e774d0 commit 734d7c0
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// 1.21.3 2024-12-11T14:15:47.3017455 cookies-mod/Language (en_us)
b38b189b066d12ab0c2d533a84fa00f9718ed60c assets\cookies-mod\lang\en_us.json
// 1.21.3 2024-12-12T08:59:32.4246417 cookies-mod/Language (en_us)
b38b189b066d12ab0c2d533a84fa00f9718ed60c assets\cookies-mod\lang\en_us.json
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ public class MiscConfig extends Category {
public BooleanOption showPing = new BooleanOption(CONFIG_MISC_SHOW_PING, false);

@Expose
public BooleanOption enableReforgeTooltip = new BooleanOption(CONFIG_MISC_REFORGE_TOOLTIP, false);
public BooleanOption enableReforgeTooltip = new BooleanOption(CONFIG_MISC_REFORGE_TOOLTIP, true);

@Expose
public BooleanOption showMuseumArmorSets = new BooleanOption(CONFIG_MISC_SHOW_MUSEUM_ARMOR_SETS, true);
Original file line number Diff line number Diff line change
@@ -40,10 +40,8 @@ public ReforgeHelper(HandledScreen<?> handledScreen) {
return;
}

var reforge = itemStack.get(DataComponentTypes.CUSTOM_DATA).copyNbt().getString("modifier");

var lore = new ArrayList<Text>();
lore.add(Text.literal("Last Reforge: " + reforge).setStyle(Style.EMPTY.withColor(Formatting.GOLD)));
lore.add(Text.literal("Last Reforge: " + itemStack.get(CookiesDataComponentTypes.MODIFIER)).setStyle(Style.EMPTY.withColor(Formatting.GOLD)));
lore.addAll(reforgeButton.get(DataComponentTypes.LORE).styledLines());

reforgeButton.set(CookiesDataComponentTypes.CUSTOM_LORE, lore);

0 comments on commit 734d7c0

Please sign in to comment.