FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?
Yes currently 7.0.2 is latest version
Description of the bug
when using [adjust-price-according-to-balance: true] it displays way too extra value after decimal and doesnt respect the default [price-decimal-format: '#,###.##'] format.
To Reproduce
Steps to reproduce the behavior:
enable [adjust-price-according-to-balance: true].
use either killer/victim's balance doesnt matter and percentage can be anything (in my case it's 100) to display.
let someone kill you to obtain your head with your balance as price in it.
Have you been able to reproduce the bug more than once?
Yes
Expected behavior
It should either display no digits after decimal or max 2 digits as defined in [price-decimal-format: '#,###.##'].
Screenshots
Has a debug report been generated?
If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.
Required information
Server version: 1.17.1
HeadsPlus version: 7.0.2
Whether or not the plugin uses MySQL: No MySQL
Server type (e.g Spigot, Paper): Paper
Uses Vault: Yes
Any other pieces of information that may be required.
Additional information
Sorry if I missed some info, I can provide in comments if needed.
DO NOT ERASE THE TEMPLATE
FIRST-HAND CHECK - ARE YOU USING THE LATEST VERSION/SNAPSHOT OF HEADSPLUS? Have you checked to see if others have submitted the same bug report?
Yes currently 7.0.2 is latest version
Description of the bug
when using [adjust-price-according-to-balance: true] it displays way too extra value after decimal and doesnt respect the default [price-decimal-format: '#,###.##'] format.
To Reproduce
Steps to reproduce the behavior:
Have you been able to reproduce the bug more than once?
Yes
Expected behavior
It should either display no digits after decimal or max 2 digits as defined in [price-decimal-format: '#,###.##'].
Screenshots
Has a debug report been generated?
If you have a debug report, go to plugin/HeadsPlus/debug, copy your report onto pastebin or hastebin, and paste it here, but also skip to the bottom question (additional information). If you don't, fill in the information below.
Required information
Additional information
Sorry if I missed some info, I can provide in comments if needed.