Skip to content

Commit fa9103f

Browse files
committed
Convert milliseconds to nanoseconds correctly
1 parent 672ca92 commit fa9103f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forge/src/main/java/org/embeddedt/modernfix/forge/mixin/core/BootstrapMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class BootstrapMixin {
2222
@Inject(method = "bootStrap", at = @At("HEAD"))
2323
private static void doModernFixBootstrap(CallbackInfo ci) {
2424
if(!isBootstrapped) {
25-
LOGGER.info("ModernFix reached bootstrap stage ({} after launch)", TimeFormatter.formatNanos(ManagementFactory.getRuntimeMXBean().getUptime() * 1000L));
25+
LOGGER.info("ModernFix reached bootstrap stage ({} after launch)", TimeFormatter.formatNanos(ManagementFactory.getRuntimeMXBean().getUptime() * 1000L * 1000L));
2626
ModWorkManagerQueue.replace();
2727
}
2828
}

0 commit comments

Comments
 (0)