fix: correct string formatting in debug logger
Some checks failed
/ build (push) Failing after 6s

Updated the debug logger to use proper string formatting syntax. This ensures compatibility and avoids runtime errors.

Signed-off-by: Minecon724 <git@m724.eu>
This commit is contained in:
Minecon724 2025-02-04 17:20:45 +01:00
parent cf654fcb42
commit 684e31bf07
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -164,7 +164,7 @@ public class TweaksPlugin extends MStatsPlugin {
mStats(1);
}
DebugLogger.fine("Took %.3f milliseconds".formatted((System.nanoTime() - start) / 1000000.0));
DebugLogger.fine("Took %.3f milliseconds", (System.nanoTime() - start) / 1000000.0);
}
private String getTargetVersion() {