Skip to content

Commit

Permalink
Fix NPC#updateTabPing
Browse files Browse the repository at this point in the history
  • Loading branch information
retrooper committed Jun 26, 2023
1 parent a923b95 commit 65a984e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void updateTabPing(int ping) {
setDisplayPing(ping);
for (Object channel : channels) {
PacketWrapper<?> playerInfo;
if (PacketEvents.getAPI().getServerManager().getVersion().isOlderThanOrEquals(ServerVersion.V_1_19_3)) {
if (PacketEvents.getAPI().getServerManager().getVersion().isNewerThanOrEquals(ServerVersion.V_1_19_3)) {
playerInfo = new WrapperPlayServerPlayerInfoUpdate(WrapperPlayServerPlayerInfoUpdate.Action.UPDATE_LATENCY, getModernPlayerInfoData());
}
else {
Expand Down

0 comments on commit 65a984e

Please sign in to comment.