Skip to content

fix: preserve fractional TPS values - #68

Open
dajiaohuang wants to merge 1 commit into
PlaceholderAPI:masterfrom
dajiaohuang:fix/67-preserve-tps-decimals
Open

fix: preserve fractional TPS values#68
dajiaohuang wants to merge 1 commit into
PlaceholderAPI:masterfrom
dajiaohuang:fix/67-preserve-tps-decimals

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Sep 13, 2026

Copy link
Copy Markdown

Update TPS formatting to round values to the nearest tenth, preserving fractional tick rates such as 18.5 while retaining the existing 20.0 cap and over-limit marker.
Fixes #67

Validation:

  • Hermetic arithmetic regression check for 18.5, 18.54, 18.55, and over-20.0 capping
  • git diff --check
  • gradlew test could not start because the host Java 26 runtime is incompatible with Gradle 8.7/Groovy (class file major version 70)

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

Successfully merging this pull request may close these issues.

%server_tps_1% Placeholder does not show decimal tick rates

1 participant