This repository was archived by the owner on Nov 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/io/github/axolotlclient/modules/hud/gui/hud/simple Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 22
33import io .github .axolotlclient .AxolotlclientConfig .options .IntegerOption ;
44import io .github .axolotlclient .AxolotlclientConfig .options .Option ;
5- import io .github .axolotlclient .AxolotlclientConfig .options .OptionBase ;
65import io .github .axolotlclient .modules .hud .gui .entry .SimpleTextHudEntry ;
76import io .github .axolotlclient .util .ThreadExecuter ;
87import net .minecraft .client .MinecraftClient ;
@@ -62,8 +61,7 @@ public boolean tickable() {
6261
6362 private void updatePing (){
6463 if (MinecraftClient .getInstance ().getCurrentServerEntry () != null ) {
65- if (MinecraftClient .getInstance ().getCurrentServerEntry ().ping ==1 ||
66- MinecraftClient .getInstance ().getCurrentServerEntry ().ping == -1 ) {
64+ if (MinecraftClient .getInstance ().getCurrentServerEntry ().ping <= 1 ) {
6765 getRealTimeServerPing (MinecraftClient .getInstance ().getCurrentServerEntry ());
6866 } else {
6967 currentServerPing = (int ) MinecraftClient .getInstance ().getCurrentServerEntry ().ping ;
You can’t perform that action at this time.
0 commit comments