Skip to content

Commit

Permalink
RTT / 2 => RTT
Browse files Browse the repository at this point in the history
  • Loading branch information
dries-c committed Mar 13, 2024
1 parent c9daaa8 commit f6ba2ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private void onBedrockBatch(@NonNull BedrockBatchWrapper batch) {
wrapper.release(); // release
batch.modify();

this.latency = (System.nanoTime() - this.lastPingTimestamp) / 2000;
this.latency = (System.nanoTime() - this.lastPingTimestamp) / 1000;
this.broadcastPing();
}
}
Expand Down

0 comments on commit f6ba2ba

Please sign in to comment.