Skip to content

Commit

Permalink
Fix broken PR
Browse files Browse the repository at this point in the history
  • Loading branch information
NEZNAMY committed Dec 7, 2024
1 parent bf0bcb0 commit 81c5d89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ public boolean supportsListOrder() {
@Override
public double getTPS() {
double mspt = getMSPT();
if(mspt < 50.0) { return 20.0; }
return Math.round(1000.0/mspt,2);
if (mspt < 50) return 20;
return Math.round(1000 / mspt);
}

@Override
Expand Down

0 comments on commit 81c5d89

Please sign in to comment.