belowname bug #1332
Labels
Resolution: Plugin works as described
Plugin works as described on the wiki
Type: Bug
Plugin is not working as described on the wiki
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
The text was updated successfully, but these errors were encountered: