TAB
TAB copied to clipboard
belowname bug
Server version
purpur 1.19.4
TAB version
4.1.6
Plugin list
Describe the bug
[02:03:08 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "25.1" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:08 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "25.6" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:09 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "25.6" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:10 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "26.1" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:10 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "26.1" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:11 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "27.1" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:12 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "27.6" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:13 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "27.6" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:13 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "28.1" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:14 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "28.1" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:15 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "29.1" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:15 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "29.1" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:16 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "29.6" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer. [02:03:17 INFO]: [TAB] [WARN] Belowname number is configured to show "%math_1_{player_health}/2%", but returned "30.0" for player Kus0y_CFLAG, which is a decimal number. Truncating to an integer.
Expected behavior
can be seen in the config:
belowname-objective: enabled: true number: "%math_1_{player_health}/2%" text: "&4❤" fancy-display-players: "&c%health%" fancy-display-default: "NPC" disable-condition: '%world%=disabledworld'
Steps to reproduce
Players on the server have 30 hearts by default, I don't know if this has an impact
belowname-objective: enabled: true number: "%math_1_{player_health}/2%" text: "&4❤" fancy-display-players: "&c%health%" fancy-display-default: "NPC" disable-condition: '%world%=disabledworld'
Additional info
players on the server have a default of 30 hearts
Checklist
- [X] I am running latest version of the plugin
- [X] I have read the wiki to make sure it's not an issue with configuration
- [X] I ticked all of the boxes without actually reading them
- [X] I have read the Compatibility wiki page and am not trying to run the plugin on an unsupported server version / platform
- [X] I am willing to cooperate to get this issue resolved faster, including providing any additional information requested or testing new builds