PlaceholderAPI / Player-Expansion

Adds player placeholders
GNU General Public License v3.0
16 stars 30 forks source link

Player ping is double (not int) on versions below ~1.16.5 #71

Open FadingFog opened 2 years ago

FadingFog commented 2 years ago

On minecraft versions below ~1.16.5 player ping is double, not int. Tested on 1.7.10, 1.8.8, 1.12.2 https://github.com/PlaceholderAPI/Player-Expansion/blob/dabc840d90f3edd2e8a555109de2a9f61cc97984/src/main/java/com/extendedclip/papi/expansion/player/PlayerUtil.java#L66 https://github.com/PlaceholderAPI/Player-Expansion/blob/dabc840d90f3edd2e8a555109de2a9f61cc97984/src/main/java/com/extendedclip/papi/expansion/player/PlayerUtil.java#L80

iGabyTM commented 2 months ago

I've never seen the ping represented as double, nor have someone report an issue with this 🤷🏼‍♂️ . What is the problem?