Skip to content

Commit

Permalink
fix: set adjusted amount to the icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Siroshun09 committed Apr 27, 2024
1 parent 84028ed commit 57e1ad6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ private void updateTradeItem(@NotNull AbstractVillager villager, int row, int re

if (adjusted != null && originalPrice != adjusted.getAmount()) {
editor.loreLine(Languages.GUI_PRICE_DIFF.apply(ingredient.getAmount(), adjusted.getAmount()).create(this.messageSource));
ingredient.setAmount(adjusted.getAmount());
}
}

Expand Down

0 comments on commit 57e1ad6

Please sign in to comment.