Convert milliseconds to nanoseconds correctly

This commit is contained in:
embeddedt 2023-08-18 14:39:07 -04:00
parent 672ca92aab
commit fa9103fb06
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -22,7 +22,7 @@ public class BootstrapMixin {
@Inject(method = "bootStrap", at = @At("HEAD"))
private static void doModernFixBootstrap(CallbackInfo ci) {
if(!isBootstrapped) {
LOGGER.info("ModernFix reached bootstrap stage ({} after launch)", TimeFormatter.formatNanos(ManagementFactory.getRuntimeMXBean().getUptime() * 1000L));
LOGGER.info("ModernFix reached bootstrap stage ({} after launch)", TimeFormatter.formatNanos(ManagementFactory.getRuntimeMXBean().getUptime() * 1000L * 1000L));
ModWorkManagerQueue.replace();
}
}