Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FadingFog opened this issue Oct 7, 2022 · 1 comment
Open

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

FadingFog opened this issue Oct 7, 2022 · 1 comment

Comments

@FadingFog
Copy link

FadingFog commented Oct 7, 2022

On minecraft versions below ~1.16.5 player ping is double, not int.
Tested on 1.7.10, 1.8.8, 1.12.2


ping = entityPlayer.getClass().getDeclaredField(VersionHelper.IS_1_17_OR_NEWER ? "e" : "ping");

@FadingFog FadingFog changed the title Player ping is double on versions below ~1.16.5 Player ping is double (not int) on versions below ~1.16.5 Oct 17, 2022
@iGabyTM
Copy link
Member

iGabyTM commented Aug 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants