Skip to content

Commit

Permalink
Update DefaultCurrencySaver
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorfromhell committed Sep 24, 2024
1 parent 7bfe5f5 commit 0a20388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public void saveDenomination(final File directory, Currency currency, Denominati
MISCUtils.setComment(denom, "Options", "Various options for this currency tier.");

MISCUtils.setComment(denom, "Options.Weight", "The weight of the tier. E.X. 20USD would equal 20");
denom.set("Options.Weight", denomination.weight());
denom.set("Options.Weight", denomination.weight().doubleValue());

if(denomination instanceof ItemDenomination itemDenomination) {

Expand Down

0 comments on commit 0a20388

Please sign in to comment.