Skip to content

Commit

Permalink
fix tooltip, closes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsupermanhd committed Sep 21, 2024
1 parent b67561e commit 992b929
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ private void fillWidget(GuiTheme theme, WVerticalList list) {
cost.tooltip = "Maximum cost in emeralds, 0 means no limit";

WButton setOptimal = costbox.add(theme.button("O")).widget();
setOptimal.tooltip = "Set to optimal price (5 + maxLevel*3) (double if treasure) (if known)";
setOptimal.tooltip = "Set to optimal price (2 + maxLevel*3) (double if treasure) (if known)";
setOptimal.action = () -> {
list.clear();
en.ifPresent(enchantmentReference -> e.maxCost = getMinimumPrice(enchantmentReference));
Expand Down

0 comments on commit 992b929

Please sign in to comment.