Skip to content

Commit

Permalink
fix sell sign
Browse files Browse the repository at this point in the history
  • Loading branch information
JRoy committed Dec 9, 2024
1 parent 164f80c commit 0d2e850
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected boolean onSignInteract(final ISign sign, final User player, final Stri
//noinspection BigDecimalMethodWithoutRoundingCalled
BigDecimal pricePerSingleItem = chargeAmount.divide(new BigDecimal(initialItemAmount));
pricePerSingleItem = pricePerSingleItem.multiply(new BigDecimal(newItemAmount));
pricePerSingleItem = pricePerSingleItem.multiply(ess.getSettings().getMultiplier(player));
money = new Trade(pricePerSingleItem, ess);
}
}
Expand Down

0 comments on commit 0d2e850

Please sign in to comment.